summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJamie Lennox <jamielennox@gmail.com>2017-03-16 16:48:05 +1100
committerJamie Lennox <jamielennox@gmail.com>2017-04-19 13:59:45 +1000
commitf12b1d317a5e77f97ccbf58bc3e4c154c1f61b53 (patch)
treefb938b90b55e1f915d12f4e099a40ba33930e1fb /etc
parent93db6a8c7526082cf1c8091fa90b55ca99d9b669 (diff)
downloadzuul-f12b1d317a5e77f97ccbf58bc3e4c154c1f61b53.tar.gz
Re-add the ability to set username on zuul-executor
Sometimes we need to log in to a nodepool node using a username of something other than zuul. This used to be possible by setting that [launcher] username= property. Re-enable it with the [executor] default_username= property. default_username is used instead of simply username as it is likely in future this information will be able to be supplied by nodepool or other in a node or image specific way. At which time that information will be used in priority to the default specified in zuul. Change-Id: Icf657b4f0bbe34e182307b9eea0cd64a8d813464
Diffstat (limited to 'etc')
-rw-r--r--etc/zuul.conf-sample3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/zuul.conf-sample b/etc/zuul.conf-sample
index bf1989516..1065cecf4 100644
--- a/etc/zuul.conf-sample
+++ b/etc/zuul.conf-sample
@@ -18,6 +18,9 @@ git_dir=/var/lib/zuul/git
;git_user_name=zuul
zuul_url=http://zuul.example.com/p
+[executor]
+default_username=zuul
+
[webapp]
listen_address=0.0.0.0
port=8001