Browse Source

new: [docker-registry-auth] allow usage of acl rules for public access.

Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
lokavaluto/dev/master
Valentin Lab 5 years ago
parent
commit
ae298d9712
  1. 2
      docker-registry-auth/lib/common

2
docker-registry-auth/lib/common

@ -39,7 +39,7 @@ make_users_config() {
bcrypt=$(e "$password" | htpasswd -niB "$user" | cut -f 2 -d ":") bcrypt=$(e "$password" | htpasswd -niB "$user" | cut -f 2 -d ":")
echo " password: \"$bcrypt\"" echo " password: \"$bcrypt\""
done < <(e "$users_charm_cfg" | shyaml key-values-0) done < <(e "$users_charm_cfg" | shyaml key-values-0)
echo " \"\": {}" ## Allow anonymous
} }

Loading…
Cancel
Save