From 232e17dfe0c4fd34d744322bb53a2f52e9aa7fe5 Mon Sep 17 00:00:00 2001 From: Patrice Ferlet Date: Fri, 10 Jun 2022 15:59:18 +0200 Subject: [PATCH] Skip init containers for same pods --- generator/writer.go | 1 + 1 file changed, 1 insertion(+) diff --git a/generator/writer.go b/generator/writer.go index 7542c94..d7de1ce 100644 --- a/generator/writer.go +++ b/generator/writer.go @@ -129,6 +129,7 @@ func Generate(p *compose.Parser, katernayVersion, appName, appVersion, chartVers n := service.Name if linkname, ok := service.Labels[helm.LABEL_SAMEPOD]; ok && linkname == name { linked[n] = service + delete(s.DependsOn, n) } }