You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
363 B
YAML
17 lines
363 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: NetworkPolicy
|
|
metadata:
|
|
name: ingress-nginx2pgadmin
|
|
# allow traffic from minio-operator NS to current NS across all ports
|
|
spec:
|
|
ingress:
|
|
- from:
|
|
- namespaceSelector:
|
|
matchLabels:
|
|
kubernetes.io/metadata.name: ingress
|
|
podSelector:
|
|
matchLabels:
|
|
type: pgadmin
|
|
policyTypes:
|
|
- Ingress
|