mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-22 09:30:54 +02:00
Add kube version flag (#804)
* add --kube-version flag into template cmd Signed-off-by: FeLvi-zzz <34182539+FeLvi-zzz@users.noreply.github.com> * add test Signed-off-by: FeLvi-zzz <34182539+FeLvi-zzz@users.noreply.github.com> * modify flag description Signed-off-by: FeLvi-zzz <34182539+FeLvi-zzz@users.noreply.github.com> * use switch Signed-off-by: FeLvi-zzz <34182539+FeLvi-zzz@users.noreply.github.com> * add comment Signed-off-by: FeLvi-zzz <34182539+FeLvi-zzz@users.noreply.github.com> --------- Signed-off-by: FeLvi-zzz <34182539+FeLvi-zzz@users.noreply.github.com>
This commit is contained in:
@@ -1884,6 +1884,7 @@ func (a *App) template(r *Run, c TemplateConfigProvider) (bool, []error) {
|
||||
SkipCleanup: c.SkipCleanup(),
|
||||
SkipTests: c.SkipTests(),
|
||||
PostRenderer: c.PostRenderer(),
|
||||
KubeVersion: c.KubeVersion(),
|
||||
}
|
||||
return st.TemplateReleases(helm, c.OutputDir(), c.Values(), args, c.Concurrency(), c.Validate(), opts)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user