-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add functions to merge step/sidecar overrides
This commit adds methods to merge a slice of Step overrides with a slice of Steps. This functionality is necessary for the full implementation of Step and Sidecar overrides. It re-uses the merge process that is used to combine Steps and Step templates; however, the Step is treated as the "template" so that the Step override takes precedence. We do not attempt to validate the resource requirements of the resulting pod; it's possible for the resulting pod to have resource requests > limits, which k8s will reject. This is the same way we currently handle Step template.
- Loading branch information
1 parent
d853b46
commit c8a9e0b
Showing
2 changed files
with
491 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.