Skip to content

Commit

Permalink
Remove etcd member update in recert cluster rename (openshift#56610)
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 authored and obochan-rh committed Sep 24, 2024
1 parent 99c37d6 commit bfd93b6
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 bfd93b6

Please sign in to comment.