Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multi-file $KUBECONFIG #9

Closed
wants to merge 1 commit into from

Conversation

prydie
Copy link

@prydie prydie commented Oct 12, 2018

Removes caching in favour of multiple $KUBECONFIG support.

Fixes: #8

@superbrothers
Copy link
Owner

I'm sorry for the late reply 🙇.

Removing caching occurs to make terminal's response slow. I'd like to seek another solution.

@fhemberger
Copy link

fhemberger commented Dec 22, 2018

@prydie @superbrothers Multiple configs in $KUBECONFIG are separated by colons. How about just splitting the string?

kubeconfigs=("${(@s/:/)kubeconfig}")
for config in $kubeconfigs; do
	echo $config
	# ...
done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants