diff options
author | mhuin <mhuin@redhat.com> | 2019-02-12 12:48:31 +0100 |
---|---|---|
committer | Matthieu Huin <mhuin@redhat.com> | 2019-07-30 10:46:17 +0200 |
commit | 9d86c00111f5028bef9913835669391ad381ad32 (patch) | |
tree | a56bec50531e0a5ec4bb9bcf7e6277ff52f8dc87 /etc | |
parent | e370e97aebbbf17ff4d1230537c8f3b0ff5c7d05 (diff) | |
download | zuul-9d86c00111f5028bef9913835669391ad381ad32.tar.gz |
Zuul CLI: allow access via REST
Users can set the [webclient] section in their zuul.conf file so that the CLI
relies on REST calls rather than RPC. The CLI accepts a new --auth-token
argument allowing remote users to use privileged REST endpoints.
Change-Id: I5a07fccfd787246c4c494db592b575fbdf90ddb1
Diffstat (limited to 'etc')
-rw-r--r-- | etc/zuul.conf-sample | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/zuul.conf-sample b/etc/zuul.conf-sample index 9479ef480..c0916c6c4 100644 --- a/etc/zuul.conf-sample +++ b/etc/zuul.conf-sample @@ -40,6 +40,10 @@ port=9000 static_cache_expiry=0 status_url=https://zuul.example.com/status +[webclient] +url=https://zuul.example.com +verify_ssl=true + [auth zuul_operator] driver=HS256 allow_authz_override=true |