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.
25 lines
526 B
YAML
25 lines
526 B
YAML
---
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: NetworkPolicy
|
|
metadata:
|
|
name: ingress-zalpgoperator2pginstances
|
|
spec:
|
|
podSelector:
|
|
matchLabels:
|
|
cluster-name: {{ .Values.postgres.name }}
|
|
policyTypes:
|
|
- Ingress
|
|
ingress:
|
|
- from:
|
|
- namespaceSelector:
|
|
matchLabels:
|
|
kubernetes.io/metadata.name: {{ .Values.postgres.pg_operator.namespace }}
|
|
ports:
|
|
- protocol: TCP
|
|
port: 5432
|
|
- protocol: TCP
|
|
port: 8008
|
|
- protocol: TCP
|
|
port: 8080
|
|
|