Skip init containers for same pods

This commit is contained in:
2022-06-10 15:59:18 +02:00
parent 50e905591b
commit 232e17dfe0

View File

@@ -129,6 +129,7 @@ func Generate(p *compose.Parser, katernayVersion, appName, appVersion, chartVers
n := service.Name n := service.Name
if linkname, ok := service.Labels[helm.LABEL_SAMEPOD]; ok && linkname == name { if linkname, ok := service.Labels[helm.LABEL_SAMEPOD]; ok && linkname == name {
linked[n] = service linked[n] = service
delete(s.DependsOn, n)
} }
} }