Skip to content

Commit 16cc9bd

Browse files
committed
scripts/lib: use v1.1.7 tester, clean up MNG var
aws-k8s-tester now support in-place variables like "GetRef.Name". Signed-off-by: Gyuho Lee <[email protected]>
1 parent f14fea6 commit 16cc9bd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

scripts/lib/aws.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ensure_ecr_repo() {
1515
}
1616

1717
ensure_aws_k8s_tester() {
18-
TESTER_RELEASE=${TESTER_RELEASE:-v1.1.4}
18+
TESTER_RELEASE=${TESTER_RELEASE:-v1.1.7}
1919
TESTER_DOWNLOAD_URL=https://github.com/aws/aws-k8s-tester/releases/download/$TESTER_RELEASE/aws-k8s-tester-$TESTER_RELEASE-$OS-$ARCH
2020

2121
# Download aws-k8s-tester if not yet

scripts/lib/cluster.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ function up-test-cluster() {
1515
echo -n "Configuring cluster $CLUSTER_NAME"
1616
AWS_K8S_TESTER_EKS_NAME=$CLUSTER_NAME \
1717
AWS_K8S_TESTER_EKS_KUBECONFIG_PATH=$KUBECONFIG_PATH \
18+
AWS_K8S_TESTER_EKS_KUBECTL_PATH=$KUBECTL_PATH \
1819
AWS_K8S_TESTER_EKS_S3_BUCKET_NAME=amazon-vpc-cni-k8s-aws-k8s-tester \
1920
AWS_K8S_TESTER_EKS_S3_BUCKET_CREATE=false \
2021
AWS_K8S_TESTER_EKS_PARAMETERS_VERSION=${K8S_VERSION%.*} \
@@ -24,11 +25,10 @@ function up-test-cluster() {
2425
AWS_K8S_TESTER_EKS_ADD_ON_MANAGED_NODE_GROUPS_ENABLE=true \
2526
AWS_K8S_TESTER_EKS_ADD_ON_MANAGED_NODE_GROUPS_ROLE_CREATE=false \
2627
AWS_K8S_TESTER_EKS_ADD_ON_MANAGED_NODE_GROUPS_ROLE_ARN=arn:aws:iam::404174646922:role/K8sTester-ClusterManagementRole \
27-
AWS_K8S_TESTER_EKS_ADD_ON_MANAGED_NODE_GROUPS_MNGS={\"${CLUSTER_NAME}-mng-for-cni\":{\"name\":\"${CLUSTER_NAME}-mng-for-cni\",\"tags\":{\"group\":\"amazon-vpc-cni-k8s\"},\"remote-access-user-name\":\"ec2-user\",\"ami-type\":\"AL2_x86_64\",\"asg-min-size\":3,\"asg-max-size\":3,\"asg-desired-capacity\":3,\"instance-types\":[\"c5.xlarge\"]}} \
28+
AWS_K8S_TESTER_EKS_ADD_ON_MANAGED_NODE_GROUPS_MNGS='{"GetRef.Name-mng-for-cni":{"name":"GetRef.Name-mng-for-cni","remote-access-user-name":"ec2-user","tags":{"group":"amazon-vpc-cni-k8s"},"release-version":"","ami-type":"AL2_x86_64","asg-min-size":3,"asg-max-size":3,"asg-desired-capacity":3,"instance-types":["c5.xlarge"],"volume-size":40}}' \
2829
AWS_K8S_TESTER_EKS_ADD_ON_MANAGED_NODE_GROUPS_FETCH_LOGS=true \
2930
AWS_K8S_TESTER_EKS_ADD_ON_NLB_HELLO_WORLD_ENABLE=true \
3031
AWS_K8S_TESTER_EKS_ADD_ON_ALB_2048_ENABLE=true \
31-
AWS_K8S_TESTER_EKS_KUBECTL_PATH=$KUBECTL_PATH \
3232
$TESTER_PATH eks create config --path $CLUSTER_CONFIG 1>&2
3333

3434
if [[ -n "${CIRCLE_JOB:-}" ]]; then

0 commit comments

Comments
 (0)