mirror of
https://github.com/bitnami/containers.git
synced 2026-02-18 12:27:16 +08:00
[bitnami/etcd] Release 3.5.7-debian-11-r9 (#23991)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
@@ -5,7 +5,7 @@ ARG TARGETARCH
|
||||
LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \
|
||||
org.opencontainers.image.description="Application packaged by Bitnami" \
|
||||
org.opencontainers.image.licenses="Apache-2.0" \
|
||||
org.opencontainers.image.ref.name="3.5.7-debian-11-r8" \
|
||||
org.opencontainers.image.ref.name="3.5.7-debian-11-r9" \
|
||||
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/etcd" \
|
||||
org.opencontainers.image.title="etcd" \
|
||||
org.opencontainers.image.vendor="VMware, Inc." \
|
||||
|
||||
@@ -689,6 +689,9 @@ etcd_initialize() {
|
||||
extra_flags+=("--peer-urls=$ETCD_INITIAL_ADVERTISE_PEER_URLS")
|
||||
etcdctl member add "$ETCD_NAME" "${extra_flags[@]}" | grep "^ETCD_" >"$ETCD_NEW_MEMBERS_ENV_FILE"
|
||||
replace_in_file "$ETCD_NEW_MEMBERS_ENV_FILE" "^" "export "
|
||||
# The value of ETCD_INITIAL_CLUSTER_STATE must be changed for it to be correctly added to the existing cluster
|
||||
# https://etcd.io/docs/v3.3/op-guide/configuration/#--initial-cluster-state
|
||||
export ETCD_INITIAL_CLUSTER_STATE=existing
|
||||
etcd_store_member_id
|
||||
elif ! is_empty_value "$member_id"; then
|
||||
info "Updating member in existing cluster"
|
||||
|
||||
Reference in New Issue
Block a user