File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,10 +41,6 @@ export CHANNELS
4141
4242export KOPS_RUN_TOO_NEW_VERSION=1
4343
44- if [[ -z " ${DISCOVERY_STORE-} " ]]; then
45- DISCOVERY_STORE=" ${KOPS_STATE_STORE-} "
46- fi
47-
4844if [[ -z " ${AWS_SSH_PRIVATE_KEY_FILE-} " ]]; then
4945 export AWS_SSH_PRIVATE_KEY_FILE=" ${HOME} /.ssh/id_rsa"
5046fi
@@ -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"
Original file line number Diff line number Diff line change 7878 KOPS=" ${KOPS_A} "
7979fi
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
8782if [[ -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"
You can’t perform that action at this time.
0 commit comments