aboutsummaryrefslogtreecommitdiffstats
path: root/kud/deployment_infra/playbooks/emco-monitor-openness-21.03.patch
blob: 44c72b6cc84731621a3901e81044cb5764824150 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/deployments/helm/monitor/templates/clusterrolebinding.yaml b/deployments/helm/monitor/templates/clusterrolebinding.yaml
index 70305e50..6616787b 100644
--- a/deployments/helm/monitor/templates/clusterrolebinding.yaml
+++ b/deployments/helm/monitor/templates/clusterrolebinding.yaml
@@ -7,7 +7,7 @@ metadata:
 subjects:
 - kind: ServiceAccount
   name: monitor
-  namespace: default
+  namespace: {{ .Release.Namespace }}
 roleRef:
   kind: ClusterRole
   name: monitor