UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 74fe3541 authored by Ryan Garcia's avatar Ryan Garcia :dizzy:
Browse files

Testing Exception resource

parent 24577848
No related branches found
No related tags found
1 merge request!104SKIP UPGRADE Testin things
Pipeline #2430113 failed
{{- $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 }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment