CommandArgsOverrider supports Job

Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
This commit is contained in:
chaunceyjiang 2023-04-17 14:32:33 +08:00
parent 4552a19ee9
commit 77e2157cf8
1 changed files with 2 additions and 0 deletions

View File

@ -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)
}