Update RBAC verbs to include create

pull/2862/head
Geet Samra 2023-08-14 15:27:43 -07:00
parent a13e2576a5
commit e3746cf180
1 changed files with 14 additions and 13 deletions

View File

@ -16,9 +16,9 @@ rules:
- prometheuses/finalizers
- alertmanagers/finalizers
verbs:
- 'get'
- 'list'
- 'watch'
- get
- list
- watch
- apiGroups:
- monitoring.coreos.com
resources:
@ -32,7 +32,7 @@ rules:
- probes/finalizers
- alertmanagerconfigs
verbs:
- '*'
- *
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
@ -51,9 +51,9 @@ rules:
- prometheuses/finalizers
- alertmanagers/finalizers
verbs:
- 'get'
- 'list'
- 'watch'
- get
- list
- watch
- apiGroups:
- monitoring.coreos.com
resources:
@ -66,7 +66,7 @@ rules:
- probes
- alertmanagerconfigs
verbs:
- '*'
- *
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
@ -94,9 +94,9 @@ rules:
- probes/finalizers
- alertmanagerconfigs
verbs:
- 'get'
- 'list'
- 'watch'
- get
- list
- watch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
@ -118,7 +118,8 @@ rules:
- "https:{{ include "call-nested" (list . "grafana" "grafana.fullname") }}:{{ .Values.grafana.service.port }}"
{{- end }}
verbs:
- 'get'
- get
- create
- apiGroups:
- ""
resourceNames: