UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects

Network Policy

Merged evan.rush requested to merge network-policy into main
Compare and
17 files
+ 256
1
Compare changes
  • Side-by-side
  • Inline
Files
17
{{- if .Values.networkPolicies.enabled }}
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: egress-allow-ns
namespace: "{{ .Release.Namespace }}"
spec:
podSelector: {} # all pods
policyTypes:
- Egress
egress:
- to:
- podSelector: {} # all pods in namespace
{{- end }}
Loading