Files
Go.Rig-Operator/deploy/k8s-provisioner/config/rbac/cluster_viewer_role.yaml
2026-01-15 09:58:01 +00:00

30 lines
794 B
YAML

# This rule is not used by the project k8s-provisioner itself.
# It is provided to allow the cluster admin to help manage permissions for users.
#
# Grants read-only access to k8sprovisioner.appstack.io resources.
# This role is intended for users who need visibility into these resources
# without permissions to modify them. It is ideal for monitoring purposes and limited-access viewing.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
app.kubernetes.io/name: k8s-provisioner
app.kubernetes.io/managed-by: kustomize
name: cluster-viewer-role
rules:
- apiGroups:
- k8sprovisioner.appstack.io
resources:
- clusters
verbs:
- get
- list
- watch
- apiGroups:
- k8sprovisioner.appstack.io
resources:
- clusters/status
verbs:
- get