This repository has been archived by the owner on Jan 9, 2023. It is now read-only.
Pass the current config location to the forked process upon ssh tunnel connection to kube-api #808
Labels
kind/bug
Categorizes issue or PR as related to a bug.
Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened:
On Tarmak 0.6.4, after successfully creating new cluster and tried to kubectl with:
tarmak -c . kubectl get pods
it complains that there is no local configuration found. The following goes in a loop:
What you expected to happen:
I would expect to use the local configuration from the env folder rather search in default ~/.tarmak directory
See:
tarmak/cmd/tarmak/cmd/tunnel.go
Line 24 in 7b521f8
tarmak/pkg/tarmak/ssh/tunnel.go
Line 235 in 7b521f8
How to reproduce it (as minimally and precisely as possible):
-Create new directory with your
tarmak.yaml
file. Leave~/.tarmak
empty.-Do plan and apply on hub and cluster and then do
tarmak -c . kubectl get pods
Anything else we need to know?:
Environment:
kubectl version
): irrelevantThe text was updated successfully, but these errors were encountered: