Skip to content
Snippets Groups Projects
Commit 6b37bfba authored by OZGCloud's avatar OZGCloud
Browse files

OZG-5238 Put egress to mognodb back in network_policy

parent 455b8ca7
Branches
Tags
No related merge requests found
......@@ -18,13 +18,13 @@ spec:
{{ toYaml . | indent 2 }}
{{- end }}
egress:
# - to:
# - podSelector:
# matchLabels:
# component: ozgcloud-mongodb
# ports:
# - port: 27017
# protocol: TCP
- to:
- podSelector:
matchLabels:
component: ozgcloud-mongodb
ports:
- port: 27017
protocol: TCP
# public keycloak ip
- to:
- ipBlock:
......
......@@ -67,13 +67,13 @@ tests:
- ports:
- port: 8080
egress:
# - to:
# - podSelector:
# matchLabels:
# component: ozgcloud-mongodb
# ports:
# - port: 27017
# protocol: TCP
- to:
- podSelector:
matchLabels:
component: ozgcloud-mongodb
ports:
- port: 27017
protocol: TCP
# public keycloak ip
- to:
- ipBlock:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment