Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update RBAC verbs to include create #2862

Merged
merged 2 commits into from
Aug 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ rules:
- prometheuses/finalizers
- alertmanagers/finalizers
verbs:
- 'get'
- 'list'
- 'watch'
- get
- list
- watch
- apiGroups:
- monitoring.coreos.com
resources:
Expand All @@ -32,7 +32,7 @@ rules:
- probes/finalizers
- alertmanagerconfigs
verbs:
- '*'
- *
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
Expand All @@ -51,9 +51,9 @@ rules:
- prometheuses/finalizers
- alertmanagers/finalizers
verbs:
- 'get'
- 'list'
- 'watch'
- get
- list
- watch
- apiGroups:
- monitoring.coreos.com
resources:
Expand All @@ -66,7 +66,7 @@ rules:
- probes
- alertmanagerconfigs
verbs:
- '*'
- *
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
Expand Down Expand Up @@ -94,9 +94,9 @@ rules:
- probes/finalizers
- alertmanagerconfigs
verbs:
- 'get'
- 'list'
- 'watch'
- get
- list
- watch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
Expand All @@ -118,7 +118,8 @@ rules:
- "https:{{ include "call-nested" (list . "grafana" "grafana.fullname") }}:{{ .Values.grafana.service.port }}"
{{- end }}
verbs:
- 'get'
- get
- create
- apiGroups:
- ""
resourceNames:
Expand All @@ -131,4 +132,4 @@ rules:
- endpoints
verbs:
- list
{{- end }}
{{- end }}
4 changes: 2 additions & 2 deletions index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10635,7 +10635,7 @@ entries:
catalog.cattle.io/upstream-version: 19.0.3
apiVersion: v2
appVersion: 0.59.1
created: "2023-08-14T15:43:06.562855-07:00"
created: "2023-08-29T10:23:59.657936-07:00"
dependencies:
- condition: grafana.enabled
name: grafana
Expand Down Expand Up @@ -10706,7 +10706,7 @@ entries:
description: Collects several related Helm charts, Grafana dashboards, and Prometheus
rules combined with documentation and scripts to provide easy to operate end-to-end
Kubernetes cluster monitoring with Prometheus using the Prometheus Operator.
digest: ca27986b59577f2f204a1444d37f047076cc412ca528997434e94adea098c28a
digest: a62079e3acb7a46e64fe26c6564dee373cd57c84c31f63bf0a4a05c36b863c54
home: https://github.com/prometheus-operator/kube-prometheus
icon: https://raw.githubusercontent.com/prometheus/prometheus.github.io/master/assets/prometheus_logo-cb55bb5c346.png
keywords:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ rules:
- prometheuses/finalizers
- alertmanagers/finalizers
verbs:
- 'get'
- 'list'
- 'watch'
- get
- list
- watch
- apiGroups:
- monitoring.coreos.com
resources:
Expand All @@ -32,7 +32,7 @@ rules:
- probes/finalizers
- alertmanagerconfigs
verbs:
- '*'
- *
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
Expand All @@ -51,9 +51,9 @@ rules:
- prometheuses/finalizers
- alertmanagers/finalizers
verbs:
- 'get'
- 'list'
- 'watch'
- get
- list
- watch
- apiGroups:
- monitoring.coreos.com
resources:
Expand All @@ -66,7 +66,7 @@ rules:
- probes
- alertmanagerconfigs
verbs:
- '*'
- *
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
Expand Down Expand Up @@ -94,9 +94,9 @@ rules:
- probes/finalizers
- alertmanagerconfigs
verbs:
- 'get'
- 'list'
- 'watch'
- get
- list
- watch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
Expand All @@ -118,7 +118,8 @@ rules:
- "https:{{ include "call-nested" (list . "grafana" "grafana.fullname") }}:{{ .Values.grafana.service.port }}"
{{- end }}
verbs:
- 'get'
- get
- create
- apiGroups:
- ""
resourceNames:
Expand All @@ -131,4 +132,4 @@ rules:
- endpoints
verbs:
- list
{{- end }}
{{- end }}
Loading