File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 6060 terraform_wrapper : false
6161 - name : " Set up Cloud SDK"
6262 uses : " google-github-actions/setup-gcloud@v0"
63+ with :
64+ install_components : " beta"
6365 - name : " Initialize gcloud SDK"
6466 run : " gcloud init"
6567 - name : Provision GKE Cluster
7274 env
7375 terraform init
7476 terraform apply -auto-approve
75- echo "GOOGLE_CLUSTER_NAME=`terraform output -raw cluster_name`" >> $GITHUB_ENV
77+ export CLUSTER_NAME=`terraform output -raw cluster_name`
78+ echo "GOOGLE_CLUSTER_NAME=$CLUSTER_NAME" >> $GITHUB_ENV
79+ gcloud beta container clusters update --enable-service-externalips $CLUSTER_NAME --zone $GOOGLE_ZONE
7680 - name : Get GKE Credentials
7781 env :
7882 KUBECONFIG : ${{ github.workspace }}/kubernetes/test-infra/gke/kubeconfig
You can’t perform that action at this time.
0 commit comments