Skip to content

Provide a flag to input cluster name when generating kubeconfig files #1402

@devdattakulkarni

Description

@devdattakulkarni

In provider-kubeconfig.py, we should provide a flag to input name of the cluster. This name will be used in setting the value of the context attribute, along with the cluster name, in the generated kubeconfig file. Right now, we set the cluster name and the context name to the name of the ServiceAccount that is being generated. But this is not very useful when switching contexts between clusters.

We can name the flag "-x"

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