diff --git a/chart/templates/kyverno/policies/values.yaml b/chart/templates/kyverno/policies/values.yaml index 7e033a2912ac24b437275c6347f67e3656b068a8..d96104a866da5f8bb3ce65240d8bcb1df40bb846 100644 --- a/chart/templates/kyverno/policies/values.yaml +++ b/chart/templates/kyverno/policies/values.yaml @@ -469,8 +469,8 @@ policies: {{- end }} {{- end }} + {{- if $deployRestic }} restrict-user-id: - {{- if $deployRestic }} exclude: any: {{- if $deployRestic }} @@ -481,8 +481,8 @@ policies: - velero names: - restic* - {{- end }} - {{- end }} + {{- end }} + {{- end }} {{- if or .Values.fluentbit.enabled .Values.monitoring.enabled .Values.promtail.enabled .Values.twistlock.enabled $deployRestic }} restrict-volume-types: