Some fixes on "same-pod" and volumes + add some tests #82
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user