You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Use new helm support for lookups in helm dry-run #449
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?
Reacted by Julien Francoz, achupryn, merlin, dudicoco, Eduard Marbach, Greg Dubicki, ahernandez-evi and Antoine
@databus23 any thoughts on how you would like to see this implemented?
i.e. 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?
If the outcome as identical to the current output with the added benefit that the lookup function is evaluated as it will be during upgrade I'm all for always using --dry-run=server. But we need to maintain backward compatibility with older helm versions that don't support the new flag yet and fallback to the currently used command invocation if older versions are being used.
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.
Activity
MichaelMorrisEst commentedon Apr 24, 2023
@databus23 any thoughts on how you would like to see this implemented?
i.e. 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?
databus23 commentedon Apr 24, 2023
If the outcome as identical to the current output with the added benefit that the
lookupfunction is evaluated as it will be during upgrade I'm all for always using--dry-run=server. But we need to maintain backward compatibility with older helm versions that don't support the new flag yet and fallback to the currently used command invocation if older versions are being used.Use dry-run=server to enable lookups
Use dry-run=server to enable lookups
Use dry-run=server to enable lookups
Use dry-run=server to enable lookups
dudicoco commentedon Jul 27, 2023
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.
Use dry-run=server to enable lookups (#458)
antoineozenne-at-leocare commentedon Dec 8, 2023
Any news on this?
mumoshu commentedon Jan 27, 2024
The support in helm-diff is available since 3.9.0 and considered complete since 3.9.4 released today! Enjoy!