UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects

SKIP UPGRADE Testin things

Merged Ryan Garcia requested to merge testin-things into main
All threads resolved!
1 file
+ 20
0
Compare changes
  • Side-by-side
  • Inline
{{- $name := "require-non-root-group" }}
{{- if and .Values.enabled (dig $name "enabled" false .Values.policies) }}
apiVersion: kyverno.io/v1
kind: PolicyException
metadata:
name: {{ $name }}-exception
namespace: {{ .Release.Namespace }}
spec:
exceptions:
- policyName: {{ $name }}
ruleNames:
- run-as-group
match:
any:
- resources:
kinds:
- Pods/containers
names:
- istio-init
{{- end }}
Loading