UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects

Kyverno Policies: Move nodeport enforcement to BB override

Merged Brett Charrier requested to merge disallow-nodeport-services-override into master
Files
2
@@ -44,9 +44,10 @@ policies:
{{- end }}
{{- end }}
{{- if $nodePortIngressGateways }}
# Istio services (istio ingress) can create type: NodePort services
disallow-nodeport-services:
validationFailureAction: enforce
{{- if $nodePortIngressGateways }}
exclude:
any:
- resources:
@@ -58,7 +59,7 @@ policies:
{{- end }}
namespaces:
- "istio-system"
{{- end }}
{{- end }}
disallow-image-tags:
validationFailureAction: enforce
Loading