Skip to content

Commit

Permalink
configure and enable anonymous role (#1756)
Browse files Browse the repository at this point in the history
  • Loading branch information
deer-wmde authored Aug 29, 2024
1 parent 15c29e5 commit 6f3cacc
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions k8s/helmfile/env/production/argo-cd-base.values.yaml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ dex:

configs:
cm:
users.anonymous.enabled: true
admin.enabled: false

ui.bannerpermanent: true
Expand All @@ -23,6 +24,20 @@ configs:
}
}

rbac:
"policy.default": "role:unauthenticated"
"policy.csv": |
g, anonymous, role:unauthenticated
p, role:unauthenticated, applications, get, */*, allow
p, role:unauthenticated, clusters, get, */*, allow
p, role:unauthenticated, projects, get, *, allow
p, role:unauthenticated, repositories, get, *, allow
p, role:unauthenticated, repositories, list, *, allow
p, role:unauthenticated, repositories, validate, *, allow
p, role:unauthenticated, accounts, get, *, allow
p, role:unauthenticated, certificates, get, *, allow
p, role:unauthenticated, gpgkeys, get, *, allow

controller:
resources:
limits:
Expand Down

0 comments on commit 6f3cacc

Please sign in to comment.