fix running of chaos mesh tests under GKE

Description

We are currently bumping into following issue:

Error from server (alpha-svc-acct@cloud-dev-112233.iam.gserviceaccount.com is forbidden on namespace self-healing-advanced-chaos-26310): error when creating "STDIN": admission webhook "vauth.kb.io" denied the request: alpha-svc-acct@cloud-dev-112233.iam.gserviceaccount.com is forbidden on namespace self-healing-advanced-chaos-26310

It turns out we had a bug in the pipeline where ShutdownCluster function was changing currently active service account (always using the alpha one) and that would break the tests currently in progress (eg. one parallel cluster finishes soon and triggers ShutdownCluster function).

Environment

None

Activity

Show:
Done

Details

Assignee

Reporter

Labels

Needs QA

Yes

Components

Priority

Smart Checklist

Created December 5, 2022 at 2:29 PM
Updated March 5, 2024 at 10:23 AM
Resolved February 14, 2023 at 9:14 AM