fix: inject KubeVersion and ApiVersions in Chartify rendering (#1624)

* fix: inject KubeVersion and ApiVersions in Chartify rendering

fixes #1623

Signed-off-by: Thomas Loubiou <thomas.loubiou@mirakl.com>

* test: appendApiVersionsFlags

Signed-off-by: Thomas Loubiou <thomas.loubiou@mirakl.com>

* test: add case for appendApiVersionsFlags

Signed-off-by: Thomas Loubiou <thomas.loubiou@mirakl.com>

---------

Signed-off-by: Thomas Loubiou <thomas.loubiou@mirakl.com>
This commit is contained in:
Thomas Loubiou
2024-07-12 22:28:20 +08:00
committed by GitHub
parent d61df9253d
commit f77dc3d5b2
3 changed files with 134 additions and 13 deletions
+1
View File
@@ -248,6 +248,7 @@ func (a *App) Template(c TemplateConfigProvider) error {
Concurrency: c.Concurrency(),
IncludeTransitiveNeeds: c.IncludeNeeds(),
Set: c.Set(),
KubeVersion: c.KubeVersion(),
}, func() {
ok, errs = a.template(run, c)
})