Open rorynickolls-skyral opened 3 months ago
This is a good example https://github.com/jaegertracing/helm-charts/tree/main/charts/jaeger-operator
also allowing CRDs to be in another folder and OPTINALLY deployed would be nice as sometimes you don't want to deploy the CRD again, but you do want to upgrade or redeploy the operator.
For Helm to detect CRDs correctly and install them in the correct order, they need to be placed in the
chart-root/crds
directory.Running
helm show crds .
from the chart root shows that Helm does not currently detect them because they are in thechart-root/templates/crds
directory.This means that they are not installed according to the flow here: https://helm.sh/docs/topics/charts_hooks/#hooks-and-the-release-lifecycle which causes problems when used in a subchart that deploys resources using the CRDs.