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 971d680 commit bd44a27Copy full SHA for bd44a27
deploy/chart/templates/0000_90_olm_00-service-monitor.yaml
@@ -87,4 +87,27 @@ rules:
87
- get
88
- list
89
- watch
90
+---
91
+apiVersion: rbac.authorization.k8s.io/v1
92
+kind: ClusterRole
93
+metadata:
94
+ name: operator-lifecycle-manager-metrics-reader
95
+rules:
96
+- nonResourceURLs:
97
+ - "/metrics"
98
+ verbs:
99
+ - get
100
101
102
+kind: ClusterRoleBinding
103
104
105
+roleRef:
106
+ apiGroup: rbac.authorization.k8s.io
107
+ kind: ClusterRole
108
109
+subjects:
110
+- kind: ServiceAccount
111
+ name: prometheus-k8s
112
+ namespace: {{ .Values.monitoring.namespace }}
113
{{ end }}
0 commit comments