From 77e2157cf820ba856222832a59070b43eaf037c7 Mon Sep 17 00:00:00 2001 From: chaunceyjiang Date: Mon, 17 Apr 2023 14:32:33 +0800 Subject: [PATCH] CommandArgsOverrider supports Job Signed-off-by: chaunceyjiang --- pkg/util/overridemanager/commandargsoverride.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/util/overridemanager/commandargsoverride.go b/pkg/util/overridemanager/commandargsoverride.go index c2d9e5d0dbf8..ed354c3ab67b 100644 --- a/pkg/util/overridemanager/commandargsoverride.go +++ b/pkg/util/overridemanager/commandargsoverride.go @@ -30,6 +30,8 @@ func buildCommandArgsPatches(target string, rawObj *unstructured.Unstructured, c fallthrough case util.DaemonSetKind: fallthrough + case util.JobKind: + fallthrough case util.StatefulSetKind: return buildCommandArgsPatchesWithPath(target, "spec/template/spec/containers", rawObj, commandRunOverrider) }