add service account with cluster-admin role for the token

This commit is contained in:
2024-07-24 08:09:00 +10:00
parent 49ad1962b7
commit db130c7ec6
5 changed files with 20 additions and 84 deletions

View File

@@ -0,0 +1,12 @@
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: argocd