ingress-nginx-helm/docs/examples/openpolicyagent/rule.yaml
2023-05-25 07:18:52 -07:00

14 lines
322 B
YAML

apiVersion: constraints.gatekeeper.sh/v1beta1
kind: K8sBlockIngressPathType
metadata:
name: implspecificisblocked
spec:
match:
kinds:
- apiGroups: ["networking.k8s.io"]
kinds: ["Ingress"]
parameters:
namespacesExceptions:
- "privileged"
blockedTypes:
- "ImplementationSpecific"