Hi 馃憢馃徏 The way crds are handled in this repo Helm does not upgrade them when the user upgrades the chart.
https://helm.sh/docs/chart_best_practices/custom_resource_definitions/#some-caveats-and-explanations
There is no support at this time for upgrading or deleting CRDs using Helm. This was an explicit decision after much community discussion due to the danger for unintentional data loss. Furthermore, there is currently no community consensus around how to handle CRDs and their lifecycle. As this evolves, Helm will add support for those use cases.
What I've seen most chart developers do it have a installCRDs option in the helm values and template them out, take a look at cert-manager and rook-ceph charts for an example on how they handle CRDs.
I would suggest a option in the values.yaml and to move the crds folder into the templates folder and wrap it in an if statement.
operator:
create: false
installCRDs: true
autoRestart: false
Hi 馃憢馃徏 The way crds are handled in this repo Helm does not upgrade them when the user upgrades the chart.
https://helm.sh/docs/chart_best_practices/custom_resource_definitions/#some-caveats-and-explanations
What I've seen most chart developers do it have a
installCRDsoption in the helm values and template them out, take a look at cert-manager and rook-ceph charts for an example on how they handle CRDs.I would suggest a option in the
values.yamland to move the crds folder into the templates folder and wrap it in an if statement.