Skip to content

Commit

Permalink
Add secrets viewer role to get kubeconfigs
Browse files Browse the repository at this point in the history
Signed-off-by: Andrei Pavlov <[email protected]>
  • Loading branch information
Kshatrix committed Nov 8, 2024
1 parent fb83d23 commit 10db075
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ include "hmc.fullname" . }}-secrets-viewer-role
labels:
hmc.mirantis.com/aggregate-to-namespace-editor: "true"
hmc.mirantis.com/aggregate-to-namespace-viewer: "true"
rules:
- apiGroups:
- ""
resources:
- secrets
verbs: {{ include "rbac.viewerVerbs" . | nindent 6 }}

0 comments on commit 10db075

Please sign in to comment.