Files
homelab-gitops/apps/kubernetes-dashboard/resources/admin-user-binding.yaml
T

15 lines
428 B
YAML

# Site policy: the Authentik-protected Dashboard proxy acts as cluster-admin.
# The chart owns the admin-user ServiceAccount and rotates its projected token.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: admin-user
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
- kind: ServiceAccount
name: admin-user
namespace: kubernetes-dashboard