File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 6666
6767 test-e2e :
6868 runs-on : ubuntu-latest
69+ permissions :
70+ contents : ' read'
71+ id-token : ' write' # This is required for OIDC authentication
72+
6973 steps :
7074 - uses : actions/checkout@v4
7175 with :
7579 with :
7680 DEPLOY_KEY_READ_VENAFI_CONNECTION_LIB : ${{ secrets.DEPLOY_KEY_READ_VENAFI_CONNECTION_LIB }}
7781
82+ - name : Authenticate to Google Cloud
83+ id : auth
84+ uses : google-github-actions/auth@v2
85+ with :
86+ workload_identity_provider : ' projects/1034149387603/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
87+ service_account : ' gke-cluster-creation@machineidentitysecurity-jsci-e.iam.gserviceaccount.com'
88+
89+ - name : Set up gcloud CLI
90+ uses : google-github-actions/setup-gcloud@v2
91+
7892 - id : go-version
7993 run : |
8094 make print-go-version >> "$GITHUB_OUTPUT"
91105 VEN_API_HOST : api.venafi.cloud
92106 VEN_ZONE : tlspk-bench\Default
93107 VEN_VCP_REGION : us
94- CLOUDSDK_CORE_PROJECT : jetstack-mael-valais
108+ CLOUDSDK_CORE_PROJECT : machineidentitysecurity-jsci-e
95109 CLOUDSDK_COMPUTE_ZONE : europe-west1-b
96110 CLUSTER_NAME : test-secretless
You can’t perform that action at this time.
0 commit comments