Skip to content

minikube kubectl should always use the profile's minikube context #21264

@didier-viboo

Description

@didier-viboo

What Happened?

It's reasonable to expect that when using minikube kubectl, it will only mess with minikube.

I can't think of a reasonable use case where someone would want to use the minikube version of kubectl to mess with a context other than minikube and would have no alternatives.

But I can think of cases where testing scripts run in the wrong context can mess with unintended contexts.

Using minikube kubectl would guarantee against such problems it it was always using the minikube context of the selected profile.

Attach the log file

N/A

Operating System

None

Driver

None

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