mirror of
https://github.com/kyverno/kyverno.git
synced 2025-04-15 16:56:56 +00:00
fix: admission controller rbac templating (#7774)
Fixes an regression introduced in #7633 where the helm template would render multiple resources on the same line, resulting in invalid yaml. This removes the hyphen in the template to ensure that each resource is rendered on a new line Signed-off-by: Paul Nicholson <brenix@gmail.com>
This commit is contained in:
parent
210fdbbcc6
commit
faa50615d6
2 changed files with 4 additions and 2 deletions
|
@ -26,6 +26,8 @@ annotations:
|
|||
url: https://kyverno.io/docs
|
||||
# valid kinds are: added, changed, deprecated, removed, fixed and security
|
||||
artifacthub.io/changes: |
|
||||
- kind: fixed
|
||||
description: rbac templating issues
|
||||
- kind: added
|
||||
description: make sigstore volume configurable
|
||||
- kind: changed
|
||||
|
|
|
@ -45,7 +45,7 @@ rules:
|
|||
resources:
|
||||
- deployments
|
||||
{{- if .Values.webhooksCleanup.enabled }}
|
||||
{{- if not .Values.templating.enabled -}}
|
||||
{{- if not .Values.templating.enabled }}
|
||||
- deployments/scale
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
@ -54,7 +54,7 @@ rules:
|
|||
- list
|
||||
- watch
|
||||
{{- if .Values.webhooksCleanup.enabled }}
|
||||
{{- if not .Values.templating.enabled -}}
|
||||
{{- if not .Values.templating.enabled }}
|
||||
- patch
|
||||
- update
|
||||
{{- end }}
|
||||
|
|
Loading…
Add table
Reference in a new issue