Skip to content

ske: Respect KUBECONIFIG environment variable #875

@KevinGimbel

Description

@KevinGimbel

Description

When specifying a custom Kubernetes config file with $KUBECONFIG, the file the should be used by stackit ske kubeconfig create instead of the default config file.

Steps to reproduce

  1. Run KUBECONFIG=~/.kube/custom/config.yaml stackit ske kubeconfig create <cluster> --login

Actual behavior

The standard config file at ~/.kube/config is updated

Expected behavior

The file specified with $KUBECONFIG should be updated

Environment

  • OS: MacOS
  • Version of STACKIT CLI (see stackit --version): v0.34.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions