Some fixes on "same-pod" and volumes + add some tests #82

Merged
metal3d merged 20 commits from develop into master 2024-11-25 22:17:56 +00:00
Showing only changes of commit 8aee6d9983 - Show all commits

View File

@@ -155,8 +155,10 @@ func Generate(project *types.Project) (*HelmChart, error) {
for _, s := range podToMerge { for _, s := range podToMerge {
// get the target service // get the target service
target := services[s.Name] target := services[s.Name]
if target != nil {
delete(chart.Templates, target.Filename()) delete(chart.Templates, target.Filename())
} }
}
// compute all needed resplacements in YAML templates // compute all needed resplacements in YAML templates
for n, v := range chart.Templates { for n, v := range chart.Templates {