UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects

Update require-run-as-non-root to honor exclusions

Merged Rob Ferguson requested to merge non-root-exclusion into main
All threads resolved!
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -175,7 +175,7 @@ preconditions:
{{/* Add a precondition that triggers on create or update events only */}}
{{- define "kyverno-policies.precondition.create-update" -}}
- key: "{{ "{{" }}request.operation{{ "}}" }}"
- key: "{{ "{{" }}request.operation || 'BACKGROUND'{{ "}}" }}"
operator: In
value:
- CREATE
Loading