1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-04-08 18:15:48 +00:00

Fix ServiceMonitor additionalLabels don't render properly (issue #6413) (#6414)

Signed-off-by: Ryan Grenz <ryan.grenz@fil.com>
Co-authored-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
This commit is contained in:
Ryan Grenz 2023-02-28 13:58:59 +00:00 committed by GitHub
parent 7696fb2a2b
commit 7d79b6771e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@ metadata:
labels:
{{- include "kyverno.cleanup-controller.labels" . | nindent 4 }}
{{- with .Values.cleanupController.serviceMonitor.additionalLabels }}
{{- toYaml .Values.cleanupController.serviceMonitor.additionalLabels | nindent 4 }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
selector:

View file

@ -12,7 +12,7 @@ metadata:
labels:
{{- include "kyverno.reports-controller.labels" . | nindent 4 }}
{{- with .Values.reportsController.serviceMonitor.additionalLabels }}
{{- toYaml .Values.reportsController.serviceMonitor.additionalLabels | nindent 4 }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
selector: