File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ RUN curl -sSL -o /usr/local/bin/etcdctl https://s3-us-west-2.amazonaws.com/opdem
1010 && chmod +x /usr/local/bin/etcdctl
1111
1212# install confd
13- RUN curl -sSL -o /usr/local/bin/confd https://github.com/kelseyhightower/confd/releases/download/v0.8 .0/confd-0.8 .0-linux-amd64 \
13+ RUN curl -sSL -o /usr/local/bin/confd https://github.com/kelseyhightower/confd/releases/download/v0.9 .0/confd-0.9 .0-linux-amd64 \
1414 && chmod +x /usr/local/bin/confd
1515
1616# define execution environment
Original file line number Diff line number Diff line change 6565echo " controller: done running etcd data migrations."
6666
6767# wait for confd to run once and install initial templates
68- until confd -onetime -node $ETCD --confdir /app --interval 5 --quiet 2> /dev/null ; do
68+ until confd -onetime -node $ETCD --confdir /app --log-level error ; do
6969 echo " controller: waiting for confd to write initial templates..."
7070 sleep $(( $ETCD_TTL / 2 )) # sleep for half the TTL
7171done
@@ -91,7 +91,7 @@ function on_exit() {
9191trap on_exit TERM
9292
9393# spawn confd in the background to update services based on etcd changes
94- confd -node $ETCD --confdir /app --interval 5 --quiet --watch &
94+ confd -node $ETCD --confdir /app --log-level error --watch &
9595CONFD_PID=$!
9696
9797echo deis-controller running...
You can’t perform that action at this time.
0 commit comments