Skip to content

Commit 8df86f2

Browse files
committed
Remove uninstall_cortex.sh, update eksctl
1 parent 9275f6d commit 8df86f2

File tree

3 files changed

+2
-48
lines changed

3 files changed

+2
-48
lines changed

cortex.sh

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -200,17 +200,6 @@ function install_cortex() {
200200
$CORTEX_IMAGE_MANAGER
201201
}
202202

203-
function uninstall_cortex() {
204-
echo
205-
docker run -it --entrypoint /root/uninstall_cortex.sh \
206-
-e AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID \
207-
-e AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY \
208-
-e CORTEX_CLUSTER=$CORTEX_CLUSTER \
209-
-e CORTEX_REGION=$CORTEX_REGION \
210-
-e CORTEX_NAMESPACE=$CORTEX_NAMESPACE \
211-
$CORTEX_IMAGE_MANAGER
212-
}
213-
214203
function uninstall_operator() {
215204
echo
216205
docker run -it --entrypoint /root/uninstall_operator.sh \
@@ -453,7 +442,7 @@ elif [ "$arg1" = "uninstall" ]; then
453442
show_help
454443
exit 1
455444
elif [ "$arg2" = "" ]; then
456-
uninstall_cortex && uninstall_eks
445+
uninstall_eks
457446
elif [ "$arg2" = "cli" ]; then
458447
uninstall_cli
459448
elif [ "$arg2" = "" ]; then

images/manager/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN pip3 install awscli --upgrade --user && \
99

1010
RUN apk add --no-cache bash curl gettext jq
1111

12-
RUN curl --location "https://github.com/weaveworks/eksctl/releases/download/0.1.40/eksctl_$(uname -s)_amd64.tar.gz" | tar xz -C /tmp && \
12+
RUN curl --location "https://github.com/weaveworks/eksctl/releases/download/0.2.1/eksctl_$(uname -s)_amd64.tar.gz" | tar xz -C /tmp && \
1313
mv /tmp/eksctl /usr/local/bin
1414

1515
RUN curl -o aws-iam-authenticator https://amazon-eks.s3-us-west-2.amazonaws.com/1.13.7/2019-06-11/bin/linux/amd64/aws-iam-authenticator && \

manager/uninstall_cortex.sh

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)