Skip to content
Snippets Groups Projects
Commit 654657a4 authored by steeve.chailloux's avatar steeve.chailloux
Browse files

merge env charts

parent 97d03557
No related branches found
No related tags found
No related merge requests found
......@@ -89,6 +89,13 @@
for k, chart := range baseCfg.Spec.Charts {
c.Spec.Charts[k] = cmdChartFromChart(chart)
}
// we add namespaced charts after base chart in order to overwrite them
// in case they exists in base config
if !nsCfgNotFound {
for k, chart := range nsCfg.Spec.Charts {
c.Spec.Charts[k] = cmdChartFromChart(chart)
}
}
c.populate()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment