supabase-operator/config/rbac/storage_viewer_role.yaml
Peter Kurfer 3104f50c58
Some checks failed
Tests / Run on Ubuntu (push) Waiting to run
Lint / Run on Ubuntu (push) Has been cancelled
E2E Tests / Run on Ubuntu (push) Has been cancelled
refactor: implement control plane as controller-runtime manager
2025-01-20 17:06:41 +01:00

29 lines
789 B
YAML

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