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

feat(shared): Fix broken policy definiton

parent a840536e
No related branches found
No related tags found
No related merge requests found
...@@ -3,8 +3,6 @@ kind: NetworkPolicy ...@@ -3,8 +3,6 @@ kind: NetworkPolicy
metadata: metadata:
name: allow-to-database name: allow-to-database
spec: spec:
policyTypes:
- egress
egress: egress:
- to: - to:
- ipBlock: - ipBlock:
...@@ -13,9 +11,11 @@ spec: ...@@ -13,9 +11,11 @@ spec:
- protocol: TCP - protocol: TCP
port: 9000 port: 9000
- to: - to:
podSelector: - podSelector:
matchLabels: matchLabels:
application: spilo application: spilo
podSelector: podSelector:
matchLabels: matchLabels:
application: spilo application: spilo
policyTypes:
- Egress
\ No newline at end of file
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