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.
19 lines
368 B
YAML
19 lines
368 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: NetworkPolicy
|
|
metadata:
|
|
name: ingress-migrationpod2pginstances
|
|
spec:
|
|
ingress:
|
|
- from:
|
|
- namespaceSelector:
|
|
matchLabels:
|
|
kubernetes.io/metadata.name: default
|
|
ports:
|
|
- port: 5432
|
|
protocol: TCP
|
|
podSelector:
|
|
matchLabels:
|
|
cluster-name: postgres-cluster
|
|
policyTypes:
|
|
- Ingress
|