diff --git a/infrastructure/kube-system/kustomization.yaml b/infrastructure/kube-system/kustomization.yaml index 5c2af85295aa1680cd3eb85a2f62e7a5f8b34bdd..bc66966b36c23c78d4843a4dc855126dbe63b771 100644 --- a/infrastructure/kube-system/kustomization.yaml +++ b/infrastructure/kube-system/kustomization.yaml @@ -6,3 +6,4 @@ resources: - quorum.yaml - descheduler.yaml - metrics-server.yaml + - ../../shared/networkpolicies/allow-from-all-namespaces.yaml diff --git a/shared/networkpolicies/allow-from-all-namespaces.yaml b/shared/networkpolicies/allow-from-all-namespaces.yaml new file mode 100644 index 0000000000000000000000000000000000000000..462912dae4eb3934f31eab5b3add02bc078ff9b4 --- /dev/null +++ b/shared/networkpolicies/allow-from-all-namespaces.yaml @@ -0,0 +1,11 @@ +--- +apiVersion: networking.k8s.io/v1 +kind: NetworkPolicy +metadata: + name: allow-all-ingress +spec: + podSelector: {} + ingress: + - {} + policyTypes: + - Ingress