boostrap pods -> static pods

This commit is contained in:
Mikaël Cluseau
2023-05-15 16:22:04 +02:00
parent 50bb60823f
commit b1cdb30622
4 changed files with 23 additions and 24 deletions

View File

@ -156,8 +156,8 @@ func (ctx *renderContext) renderConfigTo(buf io.Writer, configTemplate *clusters
extraFuncs := ctx.templateFuncs(ctxMap)
extraFuncs["bootstrap_pods_files"] = func(dir string) (string, error) {
namePods := ctx.renderBootstrapPods()
extraFuncs["static_pods_files"] = func(dir string) (string, error) {
namePods := ctx.renderStaticPods()
defs := make([]config.FileDef, 0)