Some checks failed
Gitea Actions Demo Training / Explore-Gitea-Actions (push) Failing after 14s
21 lines
331 B
YAML
21 lines
331 B
YAML
kind: NetworkPolicy
|
|
apiVersion: networking.k8s.io/v1
|
|
metadata:
|
|
name: deny-from-other-namespaces
|
|
spec:
|
|
podSelector: {}
|
|
ingress:
|
|
- from:
|
|
- podSelector: {}
|
|
---
|
|
kind: NetworkPolicy
|
|
apiVersion: networking.k8s.io/v1
|
|
metadata:
|
|
name: allow-webui
|
|
spec:
|
|
podSelector:
|
|
matchLabels:
|
|
app: webui
|
|
ingress:
|
|
- from: []
|