You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bcf54b7
Browse filesBrowse the repository at this point in the historyBrowse files
chore: Namespace the Helm defined templates with the chart name (#645)
Helm shares one namespace for defined templates between a chart and all of
its subcharts, so identically named ones collide under an umbrella Chart.
A define name is fixed when Helm parses the template, so the chart name has
to be substituted at generation time. That makes the three helper files and
service.yaml Jinja templates.
The call sites in the files each operator owns are not templated, so every
generated PR needs a follow-up commit renaming them before it can merge.
stackabletech/issues#882
{{- required "serviceAccount.name is required when serviceAccount.create is false, because the chart then does not create a ServiceAccount for the operator to run as." .Values.serviceAccount.name }}
71
71
{{- end }}
@@ -74,13 +74,13 @@ Create the name of the service account to use
74
74
{{/*
75
75
Labels for Kubernetes objects created by helm test
76
76
*/}}
77
-
{{- define"operator.testLabels" -}}
78
-
helm.sh/test: {{ include "operator.chart". }}
77
+
{{- define "{[ operator.name }].testLabels" -}}
78
+
helm.sh/test: {{ include "{[ operator.name }].chart" . }}
79
79
{{- end }}
80
80
81
81
{{/*
82
82
Build the full operator container image reference.
0 commit comments