Skip to content

Commit

Permalink
feature(charts): optionally set resourceNames on extraResources for c…
Browse files Browse the repository at this point in the history
…leanup-controller (kyverno#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>
  • Loading branch information
yanehi and MariamFahmy98 authored Sep 7, 2023
1 parent c796ef9 commit 86039a3
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions charts/kyverno/templates/cleanup-controller/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 86039a3

Please sign in to comment.