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
Skip adding stable/incubator on init flag #7868
Comments
Seems reasonable. There's |
I think that this is a necessary change in order to allow Helm2 users to continue using Helm when the Stable and Incubator repositories go away. |
Sounds reasonable to me. |
why not just to remove of adding stable/incubator repos in helm v2 with |
That would be a breaking change. |
the change will be needed sooner or later anyway :) |
Helm 2's support window will be closed by the time the stable chart repository is shut down, @rimusz. It will not be necessary to remove the stable repository from Now normally, we have mentioned that we would not accept new features for the Helm 2 branch. However, this does seems like a necessary feature we need to get in before the stable repository is shut down. I'm less concerned about providing this to help support the air-gapped scenario given our current support window for Helm 2, but it certainly would help out in that regard. Have there been any suggestions on a flag name from the Air Gapped WG? Perhaps |
then flag with a name |
@bacongobbler |
For those waiting for this, this is the hack we've used internally to work around the issue. Run before
|
@rjbez17 I think |
@bacongobbler could you then follow that up with a |
Yep, though if you want to deploy tiller, you can also just omit the So, there's two ways you can do it:
Or
Both accomplish the same thing. |
@rjbez17 there is a flag to specify a different alternative location for Tiller, too. |
The stable charts repository is nearing the end of its life. Once that has happened those who attempt to run helm init will get an error. This flag provides a means to still use Helm v2 after the stable charts repository is gone. A secondary situation is that Helm v2 can be used in environmnets without a network connection. Closes helm#7868 Signed-off-by: Matt Farina <matt@mattfarina.com>
The stable charts repository is nearing the end of its life. Once that has happened those who attempt to run helm init will get an error. This flag provides a means to still use Helm v2 after the stable charts repository is gone. A secondary situation is that Helm v2 can be used in environmnets without a network connection. Closes helm#7868 Signed-off-by: Matt Farina <matt@mattfarina.com>
@mattfarina's PR in #8344 said "closes" and it's merged, so as far as I can tell, we can probably close this issue. |
In Helm v2 when
helm init
is run it adds the stable repo and an update happens. Even if you specify the tiller image. This is a problem for air gaped environments. They can specify a local tiller image but still have issues due to the upstream charts repo.Since we are extending the Helm v2 support window it may be worth adding a flag to
init
to skip trying to add the stable repo.Note, this was captured in the CNCF Air Gapped Working Group.
The text was updated successfully, but these errors were encountered: