Skip to content

kubeconfig---user: exec!!!cannot pass auth #552

Closed
@zhuhesheng

Description

@zhuhesheng

in kubeconfig:


users:

  • name: aws
    user:
    exec:
    apiVersion: client.authentication.k8s.io/v1alpha1
    command: heptio-authenticator-aws
    args:
    - "token"
    - "-i"
    - "test"
    Err : HTTP response body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"deployments.extensions is forbidden: User "system:anonymous" cannot list deployments.extensions at the cluster scope","reason":"Forbidden","details":{"group":"extensions","kind":"deployments"},"code":403}

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions