Files
k8s-starter-pack/apps/recovery/clusterrolebinding.yaml
T

17 lines
506 B
YAML

---
# TEMPORARY: this binding exists only long enough to replace the lost
# administrator kubeconfig. The recovery Application's cascading finalizer
# removes it when apps/recovery.yaml is deleted from Git.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: credential-recovery-admin
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
- kind: ServiceAccount
name: credential-recovery
namespace: credential-recovery