|
| 1 | +# Restate Operator v2.8.0 Release Notes |
| 2 | + |
| 3 | +## Highlights |
| 4 | + |
| 5 | +- **CRD installation is now gated behind the `installCrds` Helm value** — the chart's CRDs are templated (default `installCrds: true`) instead of living in Helm's special `crds/` directory. They now update on `helm upgrade`, and can be turned off with `installCrds: false` when CRDs are managed outside the chart. |
| 6 | + |
| 7 | +## New Features |
| 8 | + |
| 9 | +### Gate CRD installation behind `installCrds` |
| 10 | + |
| 11 | +The chart's CRDs are now templated and gated behind a new `installCrds` Helm value |
| 12 | +(default `true`). The CRD manifests moved from `crds/` to `crd-manifests/` and are |
| 13 | +rendered by `templates/crds.yaml`. |
| 14 | + |
| 15 | +Because the CRDs are templated rather than kept in Helm's special `crds/` directory, |
| 16 | +they are applied on `helm upgrade`, so CRD schema updates now ship with chart |
| 17 | +upgrades instead of requiring a manual `kubectl apply`. |
| 18 | + |
| 19 | +**Impact on Users:** |
| 20 | +- Existing deployments: no change with the default `installCrds: true`. |
| 21 | + |
| 22 | +**Migration Guidance:** |
| 23 | + |
| 24 | +Set `installCrds: false` when the CRDs are managed outside this chart (e.g. a |
| 25 | +separate manifest, as nuon-byoc vendors them) to avoid duplicate server-side-apply |
| 26 | +ownership: |
| 27 | + |
| 28 | +```yaml |
| 29 | +installCrds: false |
| 30 | +``` |
| 31 | +
|
| 32 | +Caveat: templated CRDs are removed on `helm uninstall`, which cascades to and |
| 33 | +deletes any existing custom resources (RestateClusters, RestateDeployments, |
| 34 | +RestateCloudEnvironments). Set `installCrds: false` if you need CRDs to survive an |
| 35 | +uninstall. |
| 36 | + |
| 37 | +*Related: PR [#161](https://github.com/restatedev/restate-operator/pull/161)* |
| 38 | + |
| 39 | +## Improvements |
| 40 | + |
| 41 | +### Helm Chart |
| 42 | + |
| 43 | +- **CRDs are templated and gated behind `installCrds`** (default `true`), so schema |
| 44 | + updates apply on `helm upgrade` and CRD installation can be disabled when CRDs are |
| 45 | + managed elsewhere. See the New Features section above for details and the uninstall |
| 46 | + caveat. ([#161](https://github.com/restatedev/restate-operator/pull/161)) |
| 47 | + |
| 48 | +## Upgrading |
| 49 | + |
| 50 | +Upgrade the operator via Helm: |
| 51 | + |
| 52 | +```bash |
| 53 | +helm upgrade restate-operator restatedev/restate-operator --version 2.8.0 |
| 54 | +``` |
| 55 | + |
| 56 | +With the default `installCrds: true`, the updated CRDs are applied as part of the |
| 57 | +upgrade. If you manage CRDs outside this chart, set `installCrds: false` and apply |
| 58 | +them yourself. |
0 commit comments