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
Branches
Tags
No related merge requests found
......@@ -3,8 +3,6 @@ kind: NetworkPolicy
metadata:
name: allow-to-database
spec:
policyTypes:
- egress
egress:
- to:
- ipBlock:
......@@ -13,9 +11,11 @@ spec:
- protocol: TCP
port: 9000
- to:
podSelector:
matchLabels:
application: spilo
- podSelector:
matchLabels:
application: spilo
podSelector:
matchLabels:
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.
Please register or to comment