1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-31 03:45:17 +00:00

fix Helmchart doesn't respect metricsService.create flag (#2103)

This commit is contained in:
Vyankatesh Kudtarkar 2021-07-09 00:42:34 +05:30 committed by GitHub
parent 7342675a1e
commit 66aa4d0e4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,6 +21,7 @@ spec:
app: kyverno
type: {{ .Values.service.type }}
---
{{- if .Values.metricsService.create }}
apiVersion: v1
kind: Service
metadata:
@ -43,3 +44,4 @@ spec:
selector: {{ include "kyverno.matchLabels" . | nindent 4 }}
app: kyverno
type: {{ .Values.metricsService.type }}
{{- end -}}