Rescope jenkins-ci RBAC policy to webapp/demo-go-app
demo-go-app moved from ArgoCD's default project to the new webapp project (devops-argo-config#7de2f8b). ArgoCD RBAC is keyed <project>/<app-name>, so the jenkins-ci sync/get policy has to move with it or syncArgoApp's scoped token starts getting silent 403s on its next sync.
This commit is contained in:
@@ -109,8 +109,8 @@ argo-cd:
|
||||
# emails from the source cluster are dropped here.
|
||||
rbac:
|
||||
policy.csv: |
|
||||
p, jenkins-ci, applications, sync, default/demo-go-app, allow
|
||||
p, jenkins-ci, applications, get, default/demo-go-app, allow
|
||||
p, jenkins-ci, applications, sync, webapp/demo-go-app, allow
|
||||
p, jenkins-ci, applications, get, webapp/demo-go-app, allow
|
||||
repositories:
|
||||
devops-infra-helm-charts:
|
||||
url: http://gitea.192.168.1.7.nip.io/mukul/devops-infra-helm-charts.git
|
||||
|
||||
Reference in New Issue
Block a user