mirror of https://git.rancher.io/charts
Update RBAC verbs to include create
parent
a13e2576a5
commit
e3746cf180
|
@ -16,9 +16,9 @@ rules:
|
||||||
- prometheuses/finalizers
|
- prometheuses/finalizers
|
||||||
- alertmanagers/finalizers
|
- alertmanagers/finalizers
|
||||||
verbs:
|
verbs:
|
||||||
- 'get'
|
- get
|
||||||
- 'list'
|
- list
|
||||||
- 'watch'
|
- watch
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- monitoring.coreos.com
|
- monitoring.coreos.com
|
||||||
resources:
|
resources:
|
||||||
|
@ -32,7 +32,7 @@ rules:
|
||||||
- probes/finalizers
|
- probes/finalizers
|
||||||
- alertmanagerconfigs
|
- alertmanagerconfigs
|
||||||
verbs:
|
verbs:
|
||||||
- '*'
|
- *
|
||||||
---
|
---
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
|
@ -51,9 +51,9 @@ rules:
|
||||||
- prometheuses/finalizers
|
- prometheuses/finalizers
|
||||||
- alertmanagers/finalizers
|
- alertmanagers/finalizers
|
||||||
verbs:
|
verbs:
|
||||||
- 'get'
|
- get
|
||||||
- 'list'
|
- list
|
||||||
- 'watch'
|
- watch
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- monitoring.coreos.com
|
- monitoring.coreos.com
|
||||||
resources:
|
resources:
|
||||||
|
@ -66,7 +66,7 @@ rules:
|
||||||
- probes
|
- probes
|
||||||
- alertmanagerconfigs
|
- alertmanagerconfigs
|
||||||
verbs:
|
verbs:
|
||||||
- '*'
|
- *
|
||||||
---
|
---
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
|
@ -94,9 +94,9 @@ rules:
|
||||||
- probes/finalizers
|
- probes/finalizers
|
||||||
- alertmanagerconfigs
|
- alertmanagerconfigs
|
||||||
verbs:
|
verbs:
|
||||||
- 'get'
|
- get
|
||||||
- 'list'
|
- list
|
||||||
- 'watch'
|
- watch
|
||||||
---
|
---
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
|
@ -118,7 +118,8 @@ rules:
|
||||||
- "https:{{ include "call-nested" (list . "grafana" "grafana.fullname") }}:{{ .Values.grafana.service.port }}"
|
- "https:{{ include "call-nested" (list . "grafana" "grafana.fullname") }}:{{ .Values.grafana.service.port }}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
verbs:
|
verbs:
|
||||||
- 'get'
|
- get
|
||||||
|
- create
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- ""
|
- ""
|
||||||
resourceNames:
|
resourceNames:
|
||||||
|
@ -131,4 +132,4 @@ rules:
|
||||||
- endpoints
|
- endpoints
|
||||||
verbs:
|
verbs:
|
||||||
- list
|
- list
|
||||||
{{- end }}
|
{{- end }}
|
Loading…
Reference in New Issue