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

fix(shared): Reduce scope for database network policy

This patch reduces the network acess from the database mangeement
namespace to postgres-operator only. (Technically speaking there isn't
anything else running in that namespace, but it helps to keep things
tight in case of future expansions.)
parent 14710202
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,9 @@ spec: ...@@ -10,6 +10,9 @@ spec:
- namespaceSelector: - namespaceSelector:
matchLabels: matchLabels:
database.shivering-isles.com/network-access-required: "true" database.shivering-isles.com/network-access-required: "true"
podSelector:
matchLabels:
app.kubernetes.io/name: postgres-operator
ports: ports:
- port: 8008 - port: 8008
protocol: TCP 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