We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b82babe commit 434b1a1Copy full SHA for 434b1a1
roles/tackle/templates/networkpolicy.yml.j2
@@ -55,4 +55,24 @@ spec:
55
role: {{ hub_service_name }}
56
ingress:
57
- ports:
58
- - port: {{ hub_metrics_port }}
+ - port: {{ hub_metrics_port }}
59
+{% if app_profile == 'mta' %}
60
+---
61
+apiVersion: networking.k8s.io/v1
62
+kind: NetworkPolicy
63
+metadata:
64
+ name: {{ app_name }}-rhsso-metrics
65
+ namespace: {{ app_namespace }}
66
+spec:
67
+ ingress:
68
+ - from:
69
+ - namespaceSelector:
70
+ matchLabels:
71
+ network.openshift.io/policy-group: monitoring
72
+ - ports:
73
+ - port: 8383
74
+ - port: 8686
75
+ podSelector:
76
77
+ name: rhsso-operator
78
+{% endif %}
0 commit comments