Files
kubernetes-operator/config/rbac/kmssecret_viewer_role.yaml

30 lines
750 B
YAML

# This rule is not used by the project k8-operator itself.
# It is provided to allow the cluster admin to help manage permissions for users.
#
# Grants read-only access to kms.hanzo.ai 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: k8-operator
app.kubernetes.io/managed-by: kustomize
name: kmssecret-viewer-role
rules:
- apiGroups:
- kms.hanzo.ai
resources:
- kmssecrets
verbs:
- get
- list
- watch
- apiGroups:
- kms.hanzo.ai
resources:
- kmssecrets/status
verbs:
- get