aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorMax Resnick <max@ofmax.li>2025-06-01 21:19:06 -0700
committerMax Resnick <max@ofmax.li>2025-06-01 21:22:47 -0700
commitbed3f41173965bbb864aca910c204a0a569eaeac (patch)
tree151599cb5f38273731a966577212646407c9722e /manifests
parent7efc18fcdcad55d963f3fd0de549ad95319a7df7 (diff)
downloadgo-git-server-bed3f41173965bbb864aca910c204a0a569eaeac.tar.gz
fix: switch from : to +
Diffstat (limited to 'manifests')
-rw-r--r--manifests/base/cm.yaml32
1 files changed, 16 insertions, 16 deletions
diff --git a/manifests/base/cm.yaml b/manifests/base/cm.yaml
index 00c0a19..dcf1787 100644
--- a/manifests/base/cm.yaml
+++ b/manifests/base/cm.yaml
@@ -3,24 +3,24 @@ data:
policy.csv: |
g, role:admin, role:maintainers
g, uid:admin, role:admin
- g, uid:grumps, role:maintainers
- g, uid:argo, role:bots
+ g, uid:maintainer, role:maintainers
+ g, aid:bot+argo, role:bots
g, anon, role:anon
auth_model.ini: |
- [request_definition]
- r = sub, obj, act
-
- [policy_definition]
- p = sub, obj, act
-
- [role_definition]
- g = _, _
-
- [policy_effect]
- e = some(where (p.eft == allow))
-
- [matchers]
- m = g(r.sub, p.sub) && r.obj == p.obj && r.act == p.act
+ [request_definition]
+ r = sub, obj, act
+
+ [policy_definition]
+ p = sub, obj, act
+
+ [role_definition]
+ g = _, _
+
+ [policy_effect]
+ e = some(where (p.eft == allow))
+
+ [matchers]
+ m = g(r.sub, p.sub) && r.obj == p.obj && r.act == p.act
kind: ConfigMap
metadata:
name: go-git-server-policy