22 lines
427 B
YAML
22 lines
427 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: NetworkPolicy
|
|
metadata:
|
|
name: gse-ingress-allow
|
|
namespace: gse
|
|
spec:
|
|
podSelector:
|
|
matchLabels:
|
|
app: gse
|
|
policyTypes:
|
|
- Ingress
|
|
ingress:
|
|
- from:
|
|
- namespaceSelector:
|
|
matchLabels:
|
|
kubernetes.io/metadata.name: traefik
|
|
podSelector:
|
|
matchLabels:
|
|
app: traefik
|
|
ports:
|
|
- port: 28657
|