Skip to content
Snippets Groups Projects
Verified Commit 5a6d2ca4 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

fix(postgres): Fix wrong network policy defintion

This patch puts the port definitions into the right place and uses the
key `port` instead of `containerPort` as expected by NetworkPolicy
objects.
parent 4a126d24
No related branches found
No related tags found
No related merge requests found
......@@ -20,11 +20,6 @@ spec:
- namespaceSelector:
matchLabels:
name: zalando-postgres
podSelector:
matchLabels:
application: spilo
policyTypes:
- Ingress
ports:
- containerPort: 8008
protocol: TCP
......@@ -32,3 +27,8 @@ spec:
protocol: TCP
- containerPort: 8080
protocol: TCP
podSelector:
matchLabels:
application: spilo
policyTypes:
- Ingress
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment