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

Expand tilde in config_path #11

Merged
merged 1 commit into from
Aug 14, 2017
Merged

Expand tilde in config_path #11

merged 1 commit into from
Aug 14, 2017

Conversation

andrewrynhard
Copy link

@andrewrynhard andrewrynhard commented Aug 10, 2017

Fixes #10.

helm/provider.go Outdated
rules := clientcmd.NewDefaultClientConfigLoadingRules()
rules.ExplicitPath = d.Get("kubernetes.0.config_path").(string)
explicitPath, err := expandTilde(d.Get("kubernetes.0.config_path").(string))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please use homedir.Expand from github.com/mitchellh/go-homedir

@mcuadros mcuadros merged commit a0591c4 into hashicorp:master Aug 14, 2017
@andrewrynhard andrewrynhard deleted the expand_tilde branch August 14, 2017 14:13
jrhouston pushed a commit that referenced this pull request Feb 5, 2020
Bump helm dep module version to v3.0.3
@ghost ghost locked and limited conversation to collaborators Apr 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

config_path: no such file or directory
2 participants