From bf7e15a46a9ab37d08d515aa0f0dcbc4a20e9ecd Mon Sep 17 00:00:00 2001 From: Olivier Grand Date: Tue, 7 Feb 2023 19:28:32 +0100 Subject: [PATCH] fix log-k8s for multi context --- bosh-cli/log-k8s.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/bosh-cli/log-k8s.sh b/bosh-cli/log-k8s.sh index dcaa80e..b88cf08 100755 --- a/bosh-cli/log-k8s.sh +++ b/bosh-cli/log-k8s.sh @@ -198,6 +198,7 @@ if [ ${flagError} = 0 ] ; then if [ ${flagError} = 0 ] ; then printf "\n\n%bCluster \"${K8S_CONTEXT}\" available.%b\n" "${YELLOW}${REVERSE}" "${STD}" + export KUBECONFIG="${HOME}/.kube/config" fi fi fi \ No newline at end of file