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.

21 lines
428 B
YAML

---
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: pginstances2zalpgoperator
spec:
podSelector:
matchLabels:
cluster-name: {{ .Values.postgres.name }}
policyTypes:
- Egress
egress:
- to:
- namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: {{ .Values.postgres.pg_operator.namespace }}
ports:
- protocol: TCP
port: 8080