File tree 3 files changed +7
-4
lines changed
test/integration/anthos_attached_clusters_kind
3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # Copyright 2022 Google LLC
2
+ # Copyright 2022-2025 Google LLC
3
3
#
4
4
# Licensed under the Apache License, Version 2.0 (the "License");
5
5
# you may not use this file except in compliance with the License.
@@ -32,7 +32,7 @@ if [[ -z "${ADMIN_CLUSTER_NAME}" ]]; then
32
32
case $yn in
33
33
[Yy]* ) ADMIN_CLUSTER_NAME=" abm-admin-cluster" ; break ;;
34
34
[Nn]* ) exit 1;;
35
- * ) echo " Please answer 'Y' or 'y for Yes and 'N' or 'n' for No." ;;
35
+ * ) echo " Please answer 'Y' or 'y' for Yes and 'N' or 'n' for No." ;;
36
36
esac
37
37
done
38
38
fi
92
92
printf " 🔄 Creating Service Account and Service Account key...\n"
93
93
# [START anthos_bm_gcp_bash_admin_create_sa]
94
94
gcloud iam service-accounts create baremetal-gcr
95
+ sleep 5s
95
96
96
97
gcloud iam service-accounts keys create bm-gcr.json \
97
98
--iam-account=baremetal-gcr@" ${PROJECT_ID} " .iam.gserviceaccount.com
@@ -239,6 +240,7 @@ i=2 # We start from 10.200.0.2/24
239
240
for vm in " ${VMs[@]} "
240
241
do
241
242
gcloud compute ssh root@" $vm " --zone " ${ZONE} " --tunnel-through-iap << EOF
243
+ export DEBIAN_FRONTEND=noninteractive
242
244
apt-get -qq update > /dev/null
243
245
apt-get -qq install -y jq > /dev/null
244
246
set -x
Original file line number Diff line number Diff line change @@ -131,7 +131,8 @@ module "instance_template" {
131
131
metadata = {
132
132
enable-oslogin = " false"
133
133
}
134
- service_account = null
134
+ service_account = null
135
+ create_service_account = false
135
136
}
136
137
137
138
module "instance_template_worker" {
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import (
25
25
"github.com/stretchr/testify/assert"
26
26
)
27
27
28
- const deploymentName = "istiod-asm-1227-1 "
28
+ const deploymentName = "istiod-asm-1227-4 "
29
29
30
30
func TestAACKind (t * testing.T ) {
31
31
kind := tft .NewTFBlueprintTest (t )
You can’t perform that action at this time.
0 commit comments