helm: use recommended value for helm managed-by label

This changes the `app.kubernetes.io/managed-by` label to use the helm
`{{ .Release.Service }}` for it's value.
This is recommended by the Helm labels and annotations standard labels
doc page, see https://helm.sh/docs/chart_best_practices/labels/#standard-labels

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
(cherry picked from commit 455508ea14)
This commit is contained in:
Alexander Trost authored and Mergify committed 2022-07-07 17:57:38 +00:00
1 parent 53e51db44a
commit b13bb0bdb7
1 file changed
+1 -1
@@ -3,7 +3,7 @@ Common labels
*/}}
{{- define "library.rook-ceph.labels" -}}
app.kubernetes.io/part-of: rook-ceph-operator
app.kubernetes.io/managed-by: helm
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/created-by: helm
helm.sh/chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
{{- end }}