Skip to content

Commit aecc504

Browse files
authored
Merge pull request #17969 from rifelpet/cleanup-discoverystore
Remove DISCOVERY_STORE handling
2 parents 7b714f7 + 26928a5 commit aecc504

2 files changed

Lines changed: 0 additions & 13 deletions

File tree

tests/e2e/scenarios/lib/common.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@ export CHANNELS
4141

4242
export KOPS_RUN_TOO_NEW_VERSION=1
4343

44-
if [[ -z "${DISCOVERY_STORE-}" ]]; then
45-
DISCOVERY_STORE="${KOPS_STATE_STORE-}"
46-
fi
47-
4844
if [[ -z "${AWS_SSH_PRIVATE_KEY_FILE-}" ]]; then
4945
export AWS_SSH_PRIVATE_KEY_FILE="${HOME}/.ssh/id_rsa"
5046
fi
@@ -132,10 +128,6 @@ function kops-up() {
132128
K8S_VERSION="$(curl -fs -L https://dl.k8s.io/release/stable.txt)"
133129
fi
134130

135-
if [[ ${KOPS_IRSA-} = true ]]; then
136-
create_args="${create_args} --discovery-store=${DISCOVERY_STORE}/${CLUSTER_NAME}/discovery"
137-
fi
138-
139131
# TODO: Switch scripts to use KOPS_CONTROL_PLANE_COUNT
140132
if [[ -n "${KOPS_CONTROL_PLANE_SIZE:-}" ]]; then
141133
echo "Recognized (deprecated) KOPS_CONTROL_PLANE_SIZE=${KOPS_CONTROL_PLANE_SIZE}, please set KOPS_CONTROL_PLANE_COUNT instead"

tests/e2e/scenarios/upgrade-ab/run-test.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,6 @@ else
7878
KOPS="${KOPS_A}"
7979
fi
8080

81-
create_args=""
82-
if [[ ${KOPS_IRSA-} = true ]]; then
83-
create_args="${create_args} --discovery-store=${DISCOVERY_STORE}/${CLUSTER_NAME}/discovery"
84-
fi
85-
8681
# TODO: Switch scripts to use KOPS_CONTROL_PLANE_COUNT
8782
if [[ -n "${KOPS_CONTROL_PLANE_SIZE:-}" ]]; then
8883
echo "Recognized (deprecated) KOPS_CONTROL_PLANE_SIZE=${KOPS_CONTROL_PLANE_SIZE}, please set KOPS_CONTROL_PLANE_COUNT instead"

0 commit comments

Comments
 (0)