camtiler: Fix Prometheus namespace for network policy

This commit is contained in:
Lauri Võsandi 2022-09-12 07:20:20 +03:00
parent 1045ed2f26
commit 59a8b7c1c7

View File

@ -252,7 +252,7 @@ spec:
- from: - from:
- namespaceSelector: - namespaceSelector:
matchLabels: matchLabels:
kubernetes.io/metadata.name: monitoring kubernetes.io/metadata.name: prometheus-operator
podSelector: podSelector:
matchLabels: matchLabels:
app.kubernetes.io/name: prometheus app.kubernetes.io/name: prometheus
@ -296,7 +296,7 @@ spec:
- from: - from:
- namespaceSelector: - namespaceSelector:
matchLabels: matchLabels:
kubernetes.io/metadata.name: monitoring kubernetes.io/metadata.name: prometheus-operator
podSelector: podSelector:
matchLabels: matchLabels:
app.kubernetes.io/name: prometheus app.kubernetes.io/name: prometheus