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 a9808a1 commit 3a9b8e8Copy full SHA for 3a9b8e8
1 file changed
production/helm/loki/templates/networkpolicy.yaml
@@ -96,7 +96,7 @@ spec:
96
- ports:
97
- port: http-metrics
98
protocol: TCP
99
- {{- if .Values.networkPolicy.metrics.cidrs }}
+ {{- if or .Values.networkPolicy.metrics.cidrs .Values.networkPolicy.metrics.namespaceSelector }}
100
from:
101
{{- range $cidr := .Values.networkPolicy.metrics.cidrs }}
102
- ipBlock:
0 commit comments