diff --git a/quickstart-postgresql/templates/networkpolicy.yaml b/quickstart-postgresql/templates/networkpolicy.yaml index b9a7093..5ab2422 100644 --- a/quickstart-postgresql/templates/networkpolicy.yaml +++ b/quickstart-postgresql/templates/networkpolicy.yaml @@ -14,6 +14,9 @@ spec: - Ingress ingress: - from: + - namespaceSelector: + matchLabels: + name: cnpg-system - namespaceSelector: matchLabels: name: {{ .Release.Namespace }}