Using Console
Using CLI
workloadIdentityConfig: {}
, then Workload Identity is not enabled for the cluster.Step 4: To enable Workload Identity for the cluster, run the following command:[CLUSTER_NAME]
, [ZONE]
, and [PROJECT_ID]
with the appropriate values.Step 5: Verify that Workload Identity is enabled for the cluster by running the following command:workloadIdentityConfig: workloadPool: [PROJECT_ID].svc.id.goog
, then Workload Identity is enabled for the cluster.By following these steps, you can remediate the misconfiguration of disabling Workload Identity at Cluster Creation in GCP using GCP CLI.Using Python