Skip to content

Commit a20a991

Browse files
author
Matthew Fisher
committed
chore(*): bump confd to v0.9.0
I've also managed to clean up some of the flags like `--interval` which is only used when `--watch` is not present.
1 parent 4070755 commit a20a991

21 files changed

Lines changed: 21 additions & 34 deletions

File tree

builder/image/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
# install docker-in-docker

builder/image/bin/boot

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ function etcd_safe_mkdir {
4141
etcd_safe_mkdir $ETCD_PATH/users
4242

4343
# wait for confd to run once and install initial templates
44-
until confd -onetime -node $ETCD --confdir /app --interval 5 --quiet; do
44+
until confd -onetime -node $ETCD --confdir /app --log-level error; do
4545
echo "builder: waiting for confd to write initial templates..."
4646
sleep $(($ETCD_TTL/2)) # sleep for half the TTL
4747
done
4848

4949
# spawn confd in the background to update services based on etcd changes
50-
confd -node $ETCD --confdir /app --interval 5 --quiet --watch &
50+
confd -node $ETCD --confdir /app --log-level error --watch &
5151
CONFD_PID=$!
5252

5353
# remove any pre-existing docker.sock

builder/image/bin/check

Lines changed: 0 additions & 8 deletions
This file was deleted.

builder/image/conf.d/authorized_keys.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@ mode = "0600"
77
keys = [
88
"/deis/builder/users",
99
]
10-
check_cmd = "/app/bin/check {{ .src }}"

builder/image/conf.d/builder.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,3 @@ keys = [
99
"/deis/builder",
1010
"/deis/registry",
1111
]
12-
check_cmd = "/app/bin/check {{ .src }}"

builder/image/conf.d/check-repos.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,3 @@ keys = [
99
"/deis/registry",
1010
]
1111
reload_cmd = "/home/git/check-repos"
12-
check_cmd = "/app/bin/check {{ .src }}"

builder/image/conf.d/gitreceive.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@ dest = "/usr/local/bin/gitreceive"
44
uid = 0
55
gid = 0
66
mode = "0755"
7-
check_cmd = "/app/bin/check {{ .src }}"

builder/image/conf.d/push-images.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@ mode = "0755"
77
keys = [
88
"/deis/registry",
99
]
10-
check_cmd = "/app/bin/check {{ .src }}"

builder/image/conf.d/receiver.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@ mode = "0755"
77
keys = [
88
"/deis/controller",
99
]
10-
check_cmd = "/app/bin/check {{ .src }}"

controller/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)