Skip to content

Commit 6ade680

Browse files
author
Matthew Fisher
committed
fix(controller): create /deis/services on boot
Some components such as the builder script in #1168 relies on /deis/services to be present before booting.
1 parent 46a72ef commit 6ade680

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

controller/bin/boot

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ etcd_set_default secretKey ${DEIS_SECRET_KEY:-`openssl rand -base64 64 | tr -d '
3333
etcd_set_default builderKey ${DEIS_BUILDER_KEY:-`openssl rand -base64 64 | tr -d '\n'`}
3434
etcd_set_default registrationEnabled 1
3535
etcd_set_default webEnabled 0
36+
# create path for application metadata
37+
etcdctl --no-sync -C $ETCD mkdir /deis/services
3638

3739
# wait for confd to run once and install initial templates
3840
until confd -onetime -node $ETCD -config-file /app/confd.toml 2>/dev/null; do

0 commit comments

Comments
 (0)