mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-31 03:45:17 +00:00
fix: helm selector (#5965)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> Co-authored-by: shuting <shuting@nirmata.com>
This commit is contained in:
parent
da2ca002c5
commit
ce4f6ac420
1 changed files with 2 additions and 0 deletions
|
@ -93,7 +93,9 @@ app.kubernetes.io/version: "{{ .Chart.Version | replace "+" "_" }}"
|
|||
|
||||
{{/* matchLabels */}}
|
||||
{{- define "kyverno.matchLabels" -}}
|
||||
{{- if .Values.templating.enabled -}}
|
||||
app: kyverno
|
||||
{{- end }}
|
||||
app.kubernetes.io/name: {{ template "kyverno.name" . }}
|
||||
{{- if not .Values.templating.enabled }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
|
|
Loading…
Add table
Reference in a new issue