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

OZG-5653 add networkpolicy for zufi server

parent 6dc6a8d0
No related branches found
No related tags found
No related merge requests found
...@@ -109,6 +109,15 @@ spec: ...@@ -109,6 +109,15 @@ spec:
podSelector: podSelector:
matchLabels: matchLabels:
component: info-manager component: info-manager
{{- end }}
{{- if ((.Values.ozgcloud).zufi).enabled }}
- to:
- namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: {{ required "ozgcloud.zufi.namespace must be set if zufi is enabled" ((.Values.ozgcloud).zufi).namespace }}
podSelector:
matchLabels:
component: zufi-server
{{- end }} {{- end }}
- to: - to:
- namespaceSelector: - namespaceSelector:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment