Skip to content

Commit 1ee59b8

Browse files
committed
chore(*): bump etcd to v2.1.1
1 parent 9752e08 commit 1ee59b8

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

contrib/coreos/user-data.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ coreos:
2424
RestartSec=10s
2525
LimitNOFILE=40000
2626
EnvironmentFile=/etc/environment
27-
Environment="ETCD_IMAGE=quay.io/coreos/etcd:v2.0.13"
27+
Environment="ETCD_IMAGE=quay.io/coreos/etcd:v2.1.1"
2828
Environment="ETCD_ELECTION_TIMEOUT=2000"
2929
Environment="ETCD_HEARTBEAT_INTERVAL=400"
3030
Environment="ETCD_DATA_DIR=/var/lib/etcd2"

tests/fixtures/test-etcd/Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@ FROM alpine:3.1
33
# install common packages
44
RUN apk add --update-cache curl tar && rm -rf /var/cache/apk/*
55

6-
ENV ETCD_VERSION v0.4.9
6+
# ETCD_VERSION is actually used by the etcd daemon, and causes an issue if we
7+
# format it for our use here. So, we call this something else.
8+
ENV INSTALL_ETCD_VERSION v2.1.1
79

810
# install etcd and etcdctl
9-
RUN curl -sSL https://github.com/coreos/etcd/releases/download/$ETCD_VERSION/etcd-$ETCD_VERSION-linux-amd64.tar.gz \
11+
RUN curl -sSL https://github.com/coreos/etcd/releases/download/$INSTALL_ETCD_VERSION/etcd-$INSTALL_ETCD_VERSION-linux-amd64.tar.gz \
1012
| tar -vxz -C /usr/local/bin --strip=1
1113

12-
EXPOSE 4001 7001
14+
EXPOSE 4001 7001 2379 2380
1315
CMD ["/usr/local/bin/etcd"]

0 commit comments

Comments
 (0)