Skip to content

Unable to run gcloud commands with non-root container user #48

@hinewin

Description

@hinewin

I'm experiencing an issue while attempting to execute gcloud commands with a non root container user. The issue appears to stem from restricted access to /var/run/secrets/sts.googleapis.com/serviceaccount/..data/token. This particular path needs to be accessible for gcloud commands to function properly. The problem persists even when I include the annotation cloud.google.com/gcloud-run-as-user in the service account.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions