Commit 3033086
committed
docs: link upstream Kubernetes support policy and fix the CRD-apply command
Two corrections to the k8s-aibom section of the component catalog.
The Kubernetes support statement now links upstream's compatibility policy
instead of only describing it. The link deliberately tracks main rather than a
pinned commit: the point is the current policy, not a snapshot, which is the
opposite of how this page cites qualified artifacts. Stated inline so it is
not "corrected" to a pin later.
The documented pre-upgrade CRD command did not work. Run verbatim against the
chart we ship it fails twice.
For an OCI chart, helm show crds writes Pulled: and Digest: progress lines to
stdout. Those two lines parse as a valid YAML mapping, so kubectl rejects the
stream with "error validating data: [apiVersion not set, kind not set]".
Server-side apply then conflicts with Helm's field ownership, because Helm
created the CRDs on install and owns their fields, so --force-conflicts is
required.
The corrected command strips helm's progress output with sed and adds
--force-conflicts, and each of the three flags now carries the reason it is
there so the shorter form is not restored later.
Verified against a live GKE cluster across a 1.2.0 to 1.3.0 upgrade, not by
inspection. An earlier review raised this command and I dismissed it after
checking only that the CRDs parse out of the stream, which they do; the
failure is in the apply, a step I had not run.
Fixes: #2283
Related: #2311
Signed-off-by: Mark Chmarny <mark@chmarny.com>1 parent 3c6aaff commit 3033086
1 file changed
Lines changed: 31 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
324 | 331 | | |
325 | 332 | | |
326 | 333 | | |
| |||
409 | 416 | | |
410 | 417 | | |
411 | 418 | | |
412 | | - | |
413 | | - | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
414 | 425 | | |
415 | 426 | | |
416 | | - | |
417 | | - | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
418 | 441 | | |
419 | 442 | | |
420 | 443 | | |
| |||
0 commit comments