Custom Resource Annotations in Helm-based Operators
This annotation can be set to "true"
on custom resources to enable the chart to be upgraded with the option. For more info see the Helm Upgrade documentation and this of --force
behavior.
Setting this annotation to true
and making a change to trigger an upgrade (e.g. setting spec.replicaCount: 3
) will cause the custom resource to be reconciled and upgraded with the option. This can be verified in the log message when an upgrade succeeds:
helm.sdk.operatorframework.io/uninstall-wait
Example