Skip to content

Commit

Permalink
configure and enable anonymous role
Browse files Browse the repository at this point in the history
  • Loading branch information
deer-wmde committed Aug 23, 2024
1 parent fb16665 commit f150938
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 f150938

Please sign in to comment.