mirror of
https://gitlab.kube.huskypup.net/Scooby/Homelabv4.git
synced 2026-08-21 11:36:50 +00:00
25 lines
533 B
YAML
25 lines
533 B
YAML
apiVersion: kyverno.io/v2
|
|
kind: PolicyException
|
|
metadata:
|
|
name: authentik-exemption
|
|
namespace: kyverno
|
|
spec:
|
|
exceptions:
|
|
- policyName: disallow-automount-sa-token
|
|
ruleNames:
|
|
- validate-automount
|
|
- autogen-validate-automount
|
|
match:
|
|
any:
|
|
- resources:
|
|
kinds:
|
|
- Deployment
|
|
- ReplicaSet
|
|
- Pod
|
|
namespaces:
|
|
- authentik
|
|
names:
|
|
- authentik-server*
|
|
- authentik-worker*
|
|
- pg-authentik*
|