diff --git a/hack/charts/cluster-api-operator/templates/core.yaml b/hack/charts/cluster-api-operator/templates/core.yaml index 2d0d8b76c..8f993496f 100644 --- a/hack/charts/cluster-api-operator/templates/core.yaml +++ b/hack/charts/cluster-api-operator/templates/core.yaml @@ -38,7 +38,7 @@ metadata: "helm.sh/hook": "post-install,post-upgrade" "helm.sh/hook-weight": "2" "argocd.argoproj.io/sync-wave": "2" -{{- if or $coreVersion $.Values.configSecret.name }} +{{- if or $coreVersion $.Values.configSecret.name $.Values.manager }} spec: {{- end}} {{- if $coreVersion }}