14 lines
394 B
YAML
14 lines
394 B
YAML
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRole
|
|
metadata:
|
|
name: {{ include "koor-operator.fullname" . }}-metrics-reader
|
|
labels:
|
|
app.kubernetes.io/component: kube-rbac-proxy
|
|
app.kubernetes.io/created-by: koor-operator
|
|
app.kubernetes.io/part-of: koor-operator
|
|
{{- include "koor-operator.labels" . | nindent 4 }}
|
|
rules:
|
|
- nonResourceURLs:
|
|
- /metrics
|
|
verbs:
|
|
- get |