Skip to content

Commit

Permalink
upgrade test etcd to v3.5.9 (#32936)
Browse files Browse the repository at this point in the history
  • Loading branch information
nklaassen authored Oct 3, 2023
1 parent 00feaf2 commit a30f23d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/services/Dockerfile.etcd
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ HEALTHCHECK CMD etcdctl --insecure-discovery --endpoint=https://etcd0:2379 --key

EXPOSE 2379 2380

USER 0
RUN mkdir teleportstorage.etcd
RUN chown 1001 teleportstorage.etcd
USER 1001

ENTRYPOINT /opt/bitnami/etcd/bin/etcd --name teleportstorage \
--initial-cluster-state new \
--cert-file /certs/server-cert.pem \
Expand All @@ -17,4 +22,4 @@ ENTRYPOINT /opt/bitnami/etcd/bin/etcd --name teleportstorage \
--advertise-client-urls=https://127.0.0.1:2379 \
--listen-client-urls=https://0.0.0.0:2379 \
--client-cert-auth \
--debug
--log-level debug
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -909,7 +909,7 @@ test-e2e:

.PHONY: run-etcd
run-etcd:
docker build -f .github/services/Dockerfile.etcd -t etcdbox --build-arg=ETCD_VERSION=3.3.9 .
docker build -f .github/services/Dockerfile.etcd -t etcdbox --build-arg=ETCD_VERSION=3.5.9 .
docker run -it --rm -p'2379:2379' etcdbox

#
Expand Down

0 comments on commit a30f23d

Please sign in to comment.