Skip to content

Commit 5942830

Browse files
committed
Revert "build: read AWS envs and pass to clusterctl"
This reverts commit 3dfb9bd.
1 parent 90ad8b4 commit 5942830

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

make/clusterctl.mk

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,13 @@
11
# Copyright 2023 D2iQ, Inc. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

4-
define AWS_CREDENTIALS
5-
[default]
6-
aws_access_key_id = $(AWS_ACCESS_KEY_ID)
7-
aws_secret_access_key = $(AWS_SECRET_ACCESS_KEY)
8-
aws_session_token = $(AWS_SESSION_TOKEN)
9-
endef
10-
11-
AWS_B64ENCODED_CREDENTIALS ?= $(shell echo "$$AWS_CREDENTIALS" | base64 -w0)
12-
134
.PHONY: clusterctl.init
145
clusterctl.init:
156
env CLUSTER_TOPOLOGY=true \
167
EXP_RUNTIME_SDK=true \
178
EXP_CLUSTER_RESOURCE_SET=true \
189
EXP_MACHINE_POOL=true \
19-
AWS_B64ENCODED_CREDENTIALS=$(AWS_B64ENCODED_CREDENTIALS) \
10+
AWS_B64ENCODED_CREDENTIALS= \
2011
clusterctl init \
2112
--kubeconfig=$(KIND_KUBECONFIG) \
2213
--infrastructure docker,aws \

0 commit comments

Comments
 (0)