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

OZG-6716 allow connection from monitoring Namespace

parent f0653ccf
No related branches found
No related tags found
1 merge request!1Ozg 6716 add service_monitor
......@@ -43,6 +43,13 @@ spec:
podSelector:
matchLabels:
component: vorgang-manager
- from:
- namespaceSelector:
matchLabels:
name: {{ (.Values.networkPolicy).monitoringNamespace | default "openshift-user-workload-monitoring" }}
ports:
- protocol: TCP
port: 8081
{{- with (.Values.networkPolicy).additionalIngressConfigLocal }}
{{ toYaml . | indent 2 }}
{{- end }}
......
......@@ -77,6 +77,15 @@ tests:
podSelector:
matchLabels:
component: vorgang-manager
- from:
- namespaceSelector:
matchLabels:
name: openshift-user-workload-monitoring
ports:
- port: 8081
protocol: TCP
egress:
- to:
- namespaceSelector:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment