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

fix: do not use release name in chart (#7303)

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
Charles-Edouard Brétéché 2023-05-26 13:01:48 +02:00 committed by GitHub
parent 303e3fd76f
commit cb56913364
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View file

@ -19,7 +19,7 @@
{{- end -}}
{{- define "kyverno.admission-controller.roleName" -}}
{{ .Release.Name }}:admission-controller
{{ include "kyverno.fullname" . }}:admission-controller
{{- end -}}
{{- define "kyverno.admission-controller.serviceAccountName" -}}

View file

@ -27,7 +27,7 @@
{{- end -}}
{{- define "kyverno.background-controller.roleName" -}}
{{ .Release.Name }}:background-controller
{{ include "kyverno.fullname" . }}:background-controller
{{- end -}}
{{- define "kyverno.background-controller.serviceAccountName" -}}

View file

@ -27,7 +27,7 @@
{{- end -}}
{{- define "kyverno.cleanup-controller.roleName" -}}
{{ .Release.Name }}:cleanup-controller
{{ include "kyverno.fullname" . }}:cleanup-controller
{{- end -}}
{{- define "kyverno.cleanup-controller.serviceAccountName" -}}

View file

@ -24,5 +24,5 @@
{{- end -}}
{{- define "kyverno.rbac.roleName" -}}
{{ .Release.Name }}:rbac
{{ include "kyverno.fullname" . }}:rbac
{{- end -}}

View file

@ -27,7 +27,7 @@
{{- end -}}
{{- define "kyverno.reports-controller.roleName" -}}
{{ .Release.Name }}:reports-controller
{{ include "kyverno.fullname" . }}:reports-controller
{{- end -}}
{{- define "kyverno.reports-controller.serviceAccountName" -}}