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:
parent
7342675a1e
commit
66aa4d0e4f
1 changed files with 2 additions and 0 deletions
|
@ -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 -}}
|
||||
|
|
Loading…
Add table
Reference in a new issue