Commit 04f3392
authored
Release 2.8.1: ship CRDs as an optional native-crds/ subchart (installCrds) (#164)
* Release 2.8.1: fix release build with dev-tools 1.17.0 for Rust 1.95.0
* Update v2.8.1.md
* fix CRD lifecycle: retain on uninstall (resource-policy keep) + document upgrade adoption
Inject helm.sh/resource-policy: keep into each templated CRD via a
fromYaml/toYaml round-trip so the CRDs (and their custom resources) survive
helm uninstall and installCrds true->false, without touching the canonical
crd/ files. Document the pre-2.8 -> 2.8 adoption path (--take-ownership or
label/annotate) and the installCrds:false out-of-band option in the v2.8.1
release notes, and correct the v2.8.0 uninstall caveat.
* Drop dev-tools base bump from 2.8.1 release
The dev-tools 1.16.1->1.17.0 base-image fix (for the Rust 1.95.0 musl
cross-compile) moves to the CI PR #165, which also adds a build-on-PR
check. 2.8.1 is now purely the version bump + CRD lifecycle fix.
* Correct installCrds comment: CRDs are retained on uninstall
The prior note said templated CRDs are removed on uninstall; #164 added
the helm.sh/resource-policy: keep annotation, so they now survive
uninstall and installCrds=true->false.
* Ship CRDs as an optional native-crds/ subchart (installCrds)
Replace the templated-CRD approach (from #161/#164) with an optional
restate-operator-crds subchart that places the CRDs in Helm's native
crds/ directory, gated by the installCrds value (default true).
Native crds/ are install-only and are never upgraded or deleted by
Helm, which eliminates the upgrade ownership-adoption error and the
uninstall cascade-delete problem the templated approach introduced.
installCrds=false still disables the CRDs entirely (for BYOC/GitOps)
by disabling the subchart dependency condition.
The subchart symlinks the canonical crd/*.yaml (single source of
truth); symlinks are resolved to real bytes at vendor time. The
vendored subchart tgz + Chart.lock are committed so the published OCI
chart is self-contained (the release pipeline does not run
helm dependency build).
* Update release notes for v2.8.0
Clarified that v2.8.0 was never published and is superseded by v2.8.1. Updated details about CRD installation approach.1 parent 6f3b7a5 commit 04f3392
14 files changed
Lines changed: 75 additions & 69 deletions
File tree
- charts
- restate-operator-crds
- crds
- restate-operator-helm
- charts
- templates
- release-notes
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
47 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
48 | 65 | | |
49 | 66 | | |
50 | 67 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
Binary file not shown.
0 commit comments