Skip to content

Commit

Permalink
feat: added cnpg networkpolicy
Browse files Browse the repository at this point in the history
  • Loading branch information
Ani1357 committed Dec 13, 2024
1 parent 4d27a72 commit 1c82fdc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions quickstart-postgresql/templates/networkpolicy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ spec:
- Ingress
ingress:
- from:
- namespaceSelector:
matchLabels:
name: cnpg-system
podSelector:
matchLabels:
app.kubernetes.io/name: cloudnative-pg
- namespaceSelector:
matchLabels:
name: {{ .Release.Namespace }}
Expand Down

0 comments on commit 1c82fdc

Please sign in to comment.