1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-29 10:55:05 +00:00

feature(charts): optionally set resourceNames on extraResources for cleanup-controller (#8307)

Signed-off-by: yanehi <nevado-git@magenta.de>
Signed-off-by: Yannic Nevado Hidalgo <nevado-git@magenta.de>
Co-authored-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
This commit is contained in:
Yannic Nevado Hidalgo 2023-09-07 21:43:28 +02:00 committed by GitHub
parent c796ef9a4a
commit 86039a3b32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -88,14 +88,7 @@ metadata:
labels:
{{- include "kyverno.cleanup-controller.labels" $ | nindent 4 }}
rules:
{{- range . }}
- apiGroups:
{{- toYaml .apiGroups | nindent 6 }}
resources:
{{- toYaml .resources | nindent 6 }}
verbs:
{{- toYaml .verbs | nindent 6 }}
{{- end }}
{{- toYaml . | nindent 2 }}
{{- end }}
{{- end }}
{{- end }}