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,15 +20,15 @@ spec: ...@@ -20,15 +20,15 @@ spec:
- namespaceSelector: - namespaceSelector:
matchLabels: matchLabels:
name: zalando-postgres name: zalando-postgres
ports:
- containerPort: 8008
protocol: TCP
- containerPort: 5432
protocol: TCP
- containerPort: 8080
protocol: TCP
podSelector: podSelector:
matchLabels: matchLabels:
application: spilo application: spilo
policyTypes: policyTypes:
- Ingress - Ingress
ports:
- containerPort: 8008
protocol: TCP
- containerPort: 5432
protocol: TCP
- containerPort: 8080
protocol: TCP
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment