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
Use new helm support for lookups in helm dry-run #449
Comments
@databus23 any thoughts on how you would like to see this implemented? |
If the outcome as identical to the current output with the added benefit that the |
Helm PR helm/helm#9426 enables support for executing lookups during dry run. This PR is to make use of this new support in helm-diff. Backwards compatibility for older versions of helm is maintained by checking the helm version before setting the flag Addresses issue: databus23#449 Signed-off-by: MichaelMorris <michael.morris@est.tech>
Helm PR helm/helm#9426 enables support for executing lookups during dry run. This PR is to make use of this new support in helm-diff. Backwards compatibility for older versions of helm is maintained by checking the helm version before setting the flag Addresses issue: databus23#449 Signed-off-by: MichaelMorris <michael.morris@est.tech> (cherry picked from commit 3be20a8)
Helm PR helm/helm#9426 enables support for executing lookups during dry run. This PR is to make use of this new support in helm-diff. Backwards compatibility for older versions of helm is maintained by checking the helm version before setting the flag Addresses issue: databus23#449 Signed-off-by: MichaelMorris <michael.morris@est.tech> (cherry picked from commit 3be20a8)
Helm PR helm/helm#9426 enables support for executing lookups during dry run. This PR is to make use of this new support in helm-diff. Backwards compatibility for older versions of helm is maintained by checking the helm version before setting the flag Addresses issue: databus23#449 Signed-off-by: MichaelMorris <michael.morris@est.tech>
I'm all for the new flag as I've been waiting for it as well, however it should be added explicitly by the user due to the fact that this will make helm contact the k8s api server, which could be security concern for some users, especially when using a third party chart. |
Helm PR helm/helm#9426 enables support for executing lookups during dry run. This PR is to make use of this new support in helm-diff. Backwards compatibility for older versions of helm is maintained by checking the helm version before setting the flag Addresses issue: #449 Signed-off-by: MichaelMorris <michael.morris@est.tech>
Any news on this? |
The support in helm-diff is available since 3.9.0 and considered complete since 3.9.4 released today! Enjoy! |
PR 9426 in helm will allow setting the value for the --dry-run flag to enable the execution of lookups towards the cluster.
I would like to submit a PR that will use this new option in order to solve #263
I am hopeful the PR in helm will be merged soon and would like to start working on the implementation in helm-diff and would appreciate any thoughts. In particular, is it ok to change the implementation to always use "--dry-run=server" (i.e. execute lookups) or do we need the existing behaviour by default and a new flag in helm-diff to enable using the new helm flag?
The text was updated successfully, but these errors were encountered: