From 89c98ae054d4b724a9fbaa24460c99a565606be6 Mon Sep 17 00:00:00 2001 From: Thomas Jungblut Date: Thu, 14 Sep 2023 11:19:16 +0200 Subject: [PATCH] restore the correct static pod list --- bindata/etcd/cluster-restore.sh | 2 +- pkg/operator/etcd_assets/bindata.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bindata/etcd/cluster-restore.sh b/bindata/etcd/cluster-restore.sh index 8e775364f1..4e51a736d5 100644 --- a/bindata/etcd/cluster-restore.sh +++ b/bindata/etcd/cluster-restore.sh @@ -172,5 +172,5 @@ fi # start remaining static pods if [ -z "${ETCD_RESTORE_SKIP_MOVE_CP_STATIC_PODS}" ]; then - restore_static_pods "${BACKUP_FILE}" "${STATIC_POD_LIST[@]}" + restore_static_pods "${BACKUP_FILE}" "${AUX_STATIC_POD_LIST[@]}" fi diff --git a/pkg/operator/etcd_assets/bindata.go b/pkg/operator/etcd_assets/bindata.go index 2ea04d55f0..40d2d3fe94 100644 --- a/pkg/operator/etcd_assets/bindata.go +++ b/pkg/operator/etcd_assets/bindata.go @@ -762,7 +762,7 @@ fi # start remaining static pods if [ -z "${ETCD_RESTORE_SKIP_MOVE_CP_STATIC_PODS}" ]; then - restore_static_pods "${BACKUP_FILE}" "${STATIC_POD_LIST[@]}" + restore_static_pods "${BACKUP_FILE}" "${AUX_STATIC_POD_LIST[@]}" fi `)