This commit is contained in:
Ruslan Piatrovich
2024-12-13 14:22:21 +03:00
parent be33aa549e
commit f815f629ec
871 changed files with 193 additions and 138036 deletions
+20
View File
@@ -0,0 +1,20 @@
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: deny-from-other-namespaces
namespace: devops-core-test-network-policies
spec:
podSelector: {}
policyTypes:
- Ingress
ingress:
- from:
- podSelector: {}
- from:
- namespaceSelector:
matchLabels:
heritage: deckhouse
- from:
- namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: kube-system