Skip to content

Commit

Permalink
Remove etcd member update in recert cluster rename
Browse files Browse the repository at this point in the history
The etcd member update is now performed via recert.

Signed-off-by: Michail Resvanis <[email protected]>
  • Loading branch information
mresvanis committed Sep 18, 2024
1 parent b3622a3 commit 08d1560
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,14 +123,6 @@ function update_node_ip {
echo "node IP updated"
}
function update_etcd_member {
echo "Update etcd member"
podman exec -it recert_etcd bash -c "/usr/bin/etcdctl member list | cut -d',' -f1 | xargs -i etcdctl member update "{}" --peer-urls=http://${ADDITIONAL_NODE_IP}:2380"
echo "etcd member updated"
}
function recert {
local etcd_image="\${ETCD_IMAGE}"
local recert_image="${RECERT_IMAGE:-quay.io/edge-infrastructure/recert:latest}"
Expand Down Expand Up @@ -191,7 +183,6 @@ function recert {
--cluster-rename \${new_cluster_name}:\${new_base_domain} \
--summary-file-clean /kubernetes/recert_summary_clean.yaml \
update_etcd_member
podman kill recert_etcd
}
Expand Down

0 comments on commit 08d1560

Please sign in to comment.