From a5e01f4cdcfb047442a4c8b60ac586a708293593 Mon Sep 17 00:00:00 2001 From: Thibault VINCENT Date: Tue, 27 Apr 2021 17:42:00 +0200 Subject: [PATCH] fix(x509-certificate-exporter): selectorLabels instead labels on Pods --- templates/daemonset.yaml | 2 +- templates/deployment.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 }}