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

feat: remote state files as command-line option -f #763

Closed
Nuru opened this issue Jul 19, 2019 · 2 comments
Closed

feat: remote state files as command-line option -f #763

Nuru opened this issue Jul 19, 2019 · 2 comments
Labels

Comments

@Nuru
Copy link

Nuru commented Jul 19, 2019

In #648 you added the ability to specify remote state files in a state file using the syntax

helmfiles:
- # Terraform-module-like URL for importing a remote directory and use a file in it as a nested-state file
  # The nested-state file is locally checked-out along with the remote directory containing it.
  # Therefore all the local paths in the file are resolved relative to the file
  path: git::https://github.com/cloudposse/helmfiles.git@releases/kiam.yaml?ref=0.40.0

I expected that included with that feature would be the ability to use remote helmfiles on the command line, but it does not work:

$ helmfile -f 'git::https://github.com/cloudposse/helmfiles.git@releases/kiam.yaml?ref=0.40.0'
specified state file git::https://github.com/cloudposse/helmfiles.git@releases/kiam.yaml?ref=0.40.0 is not found

Please include this ability.

@mumoshu
Copy link
Collaborator

mumoshu commented Jul 22, 2019

Hey! It has already been implemented in #670. And it works with the same URL you've provided on my machine:

helmfile -f 'git::https://github.com/cloudposse/helmfiles.git@releases/kiam.yaml?ref=0.40.0' diff

Are you by any chance running an older helmfile?

@Nuru
Copy link
Author

Nuru commented Jul 24, 2019

Yes, sorry, I was using helmfile 0.73.1 and it seems you implemented this in 0.74.0. Closing this as already fixed.

@Nuru Nuru closed this as completed Jul 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants