diff options
Diffstat (limited to 'authz.conf')
| -rw-r--r-- | authz.conf | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,9 +1,10 @@ # git-host access policy. # # One file, read by the receive hook on every push and by nothing that serves -# reads. The deployed copy is mounted read-only - a ConfigMap - so changes are -# made to the copy in git and rolled out; `git-authz grant` and `revoke` edit a -# source copy and refuse, with an explanation, when pointed at the read-only one. +# reads. The deployed copy is mounted read-only - a ConfigMap - on purpose: the +# hook must not be able to change who can push, and neither must whatever else +# runs as the git account. Edit the copy in git and roll the ConfigMap that +# provides it. # # <user> <repo> <write|force|admin> [ <ref pattern> ... ] # |
