Skip to content

Commit

Permalink
fix: add rolebinding to argocd-repo-server user (#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
almadigabor authored Nov 23, 2022
1 parent 1a182b6 commit ee72292
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion apps/argocd/base/rbac-secret-access.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: argocd-access-secret
name: argocd-default-access-secret
namespace: argocd
roleRef:
apiGroup: rbac.authorization.k8s.io
@@ -13,6 +13,20 @@ subjects:
namespace: argocd
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: argocd-argocd-repo-server-access-secret
namespace: argocd
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: argocd-access-secret
subjects:
- kind: ServiceAccount
name: argocd-repo-server
namespace: argocd
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: argocd-access-secret

0 comments on commit ee72292

Please sign in to comment.