Implement oc set route-backend and A/B to describers / printers#10551
Merged
Conversation
Contributor
Author
|
[test] |
oc set route-backends foo a=10 b=20 c=0 Adds describer and printer support for router.
a630056 to
1aac6c3
Compare
Contributor
|
Evaluated for origin test up to 1aac6c3 |
Contributor
|
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/8286/) |
Contributor
Author
|
[merge] @jwforres / @fabianofranz if you can do a retroactive - we'll consider this experimental / new |
Contributor
|
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/8288/) (Image: devenv-rhel7_4888) |
Contributor
|
Evaluated for origin merge up to 1aac6c3 |
| return UpdateBackendsForObject(info.Object, o.Transform.Apply) | ||
| }) | ||
| if singular && len(patches) == 0 { | ||
| return fmt.Errorf("%s/%s is not a deployment config or build config", infos[0].Mapping.Resource, infos[0].Name) |
Contributor
Author
There was a problem hiding this comment.
Yeah
Contributor
Author
|
Follow up
|
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds describer and printer support for router.
Primary use cases for set route-backend:
oc set route-backends foo a=N b=N c=Noc set route-backends foo --adjust a=+10%oc set route-backends foo --equaloc set route-backends foo --zero