diff --git a/templates/daemonset.yaml b/templates/daemonset.yaml index d584099..1d89350 100644 --- a/templates/daemonset.yaml +++ b/templates/daemonset.yaml @@ -21,7 +21,7 @@ spec: template: metadata: labels: - {{- include "x509-certificate-exporter.selectorLabels" $ | nindent 8 }} + {{- include "x509-certificate-exporter.labels" $ | nindent 8 }} {{- with $.Values.podExtraLabels }} {{- . | toYaml | trim | nindent 8 }} {{- end }} diff --git a/templates/deployment.yaml b/templates/deployment.yaml index 7bd7178..87e518b 100644 --- a/templates/deployment.yaml +++ b/templates/deployment.yaml @@ -22,7 +22,7 @@ spec: template: metadata: labels: - {{- include "x509-certificate-exporter.selectorLabels" . | nindent 8 }} + {{- include "x509-certificate-exporter.labels" . | nindent 8 }} {{- with .Values.podExtraLabels }} {{- . | toYaml | trim | nindent 8 }} {{- end }}