Skip to content

unable to obtain workload identity auth #198

@lalitc113

Description

@lalitc113

Question

After setting up the CSI drivers I am getting below error

Error:
Unable to attach or mount volumes: unmounted volumes=[mysecret], unattached volumes=[mysecret kube-api-access-d]: timed out waiting for the condition | FailedMount |
-- | -- | -- | -- | -- | --
MountVolume.SetUp failed for volume "mysecret" : rpc error: code = Unknown desc = failed to mount secrets store objects for pod app-ns/myapp-deployment-25lp23-svvcp, err: rpc error: code = PermissionDenied desc = unable to obtain auth for mount: unable to obtain workload identity auth: unable to fetch gcp service account token: rpc error: code = PermissionDenied desc = Permission 'iam.serviceAccounts.getAccessToken' denied on resource (or it may not exist). error details: name = ErrorInfo reason = IAM_PERMISSION_DENIED domain = iam.googleapis.com metadata = map[permission:iam.serviceAccounts.getAccessToken]

all permission are in place but still getting this error

Requesting you to please suggest any solution for this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions