Skip to content

Allow gpctl to authenticate from a service account token #13329

Closed as not planned
@mrsimonemms

Description

@mrsimonemms

Currently, gpctl can only authenticate via a kubeconfig file. In order to be able to be bundled in the Installer to stop workspaces/image builds prior to a deployment, it must be amended to enable authentication via a service account token.

As an example of how this could work, see the authClusterOrKubeconfig function in the Installer. This tries to authenticate via a service account token and, if that errors, it uses the kubeconfig.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions