Guide for Releasing the CRD Helm Chart
This guide applies when the CRD has changed and must be released.
[!IMPORTANT] Release the CRD Helm chart first, the operator Helm chart second
This way, dependency errors between the operator and the CRD can be caught earlier and the operator uses the correct version of the CRD.
[!IMPORTANT] Major CRD version changes may break the operator.
Double-check whether a major version change is really what you want and also check the version dependency annotation
k8s.cloudogu.com/ces-dependency/k8s-dogu-operator-crdin$workspace/k8s/helm/Chart.yaml
- change to the
developbranch and pull in any further changes - ensure the new feature or bug fix has arrived in
develop - log in to the desired Helm registry
helm registry login ${target-registry}- keep your account login and passphrase handy
- find the current CRD component version
- look in the desired Helm registry
- decide on the new version (here
${NewCRDVersion}) - create the CRD Helm chart
DEV_CRD_VERSION=${NewCRDVersion} make crd-helm-package- the version is only defined in the
target/k8s/helm-crd/Chart.yamlfile - a file with the corresponding version should reside under
target/k8s/helm-crd/k8s-dogu-operator-crd-${NewCRDVersion}.tgz
- review and commit any changes to YAML files that might occur during
kubebuilderusage- these should consist only of changes to whitespace or the Kubebuilder version
- push the new Helm chart version to the registry
helm push target/k8s/helm-crd/k8s-dogu-operator-crd-${NewCRDVersion}.tgz oci://${target-registry}/k8s/
- release the operator Helm chart as usual
- run
make controller-release - keep in mind, the operator version may have a totally different version number, though
- while reviewing
CHANGELOG.md, mention the CRD release of${NewCRDVersion} - continue to finish the release
- run
Last updated on 7/3/2026