UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects

Fix Jobs - Istio Injection, NPs

Merged Micah Nagel requested to merge sidecars-off into main
Compare and
9 files
+ 31
28
Compare changes
  • Side-by-side
  • Inline
Files
9
@@ -2,18 +2,17 @@
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-test-script
name: allow-egress-api
namespace: {{ .Release.Namespace }}
spec:
podSelector:
matchLabels:
helm-test: enabled
ingress:
- from:
- namespaceSelector: {}
podSelector: {}
egress:
- {}
- to:
- ipBlock:
cidr: {{ .Values.networkPolicies.controlPlaneCidr }}
# ONLY Block requests to cloud metadata IP
except:
- 169.254.169.254/32
policyTypes:
- Ingress
- Egress
{{- end }}
\ No newline at end of file
- Egress
{{- end }}
Loading