Merge pull request #3414 from chaunceyjiang/commandArgs

feat: CommandArgsOverrider supports Job
This commit is contained in:
karmada-bot 2023-04-18 11:12:05 +08:00 committed by GitHub
commit ef6d5954ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)
}