Skip to content

Kamel executable does not support Kubeconfig with multiple files #5107

Open
@rodcloutier

Description

@rodcloutier

What happened?

While using Kamel I have observed that we cannot use kubeconfig that refers to multiple files.

Steps to reproduce

  1. Create a kubeconfig that refers multiple files ie KUBECONFIG=$KUBECONFIG:$KUBECONFIG
  2. Call any Kamel command that refers to the cluster
    ❯ ./kamel get integration
    
  3. Observe the error
    Error: cannot get current namespace: open /Users/rcloutier/dev/petal/rto/next_gen_pocs/workflow/camel-k/kubeconfig.kind:/Users/rcloutier/dev/petal/rto/next_gen_pocs/workflow/camel-k/kubeconfig.kind: no such file or directory
    

Relevant log output

No response

Camel K version

build from main

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/cliKamel CLIgood first issueDoes not require full understanding of the codebase

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions