-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[POST-REBASE] UPSTREAM:45918: fix --local flag for oc set subcommands #14211
[POST-REBASE] UPSTREAM:45918: fix --local flag for oc set subcommands #14211
Conversation
[test] |
0506034
to
7b2ca82
Compare
08cad74
to
d1771ba
Compare
12df03f
to
283bb95
Compare
[test] |
LGTM |
f67ef22
to
225947c
Compare
flaked on #13271 re[test] |
1 similar comment
flaked on #13271 re[test] |
225947c
to
332d67f
Compare
LGTM, @liggitt you ok with picking this UPSTREAM commit? |
if the flake is fixed, can the bigger change wait for the 1.7 rebase? |
Adds `allowRemoteCalls` bool arg to f.NewBuilder that returns a "DisabledClientForMapping" when bool arg is false, allowing a common method to be used in local and non-local commands.
332d67f
to
d179a5e
Compare
@liggitt sure, will tag post-rebase |
Evaluated for origin test up to d179a5e |
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin/3034/) (Base Commit: fe7173b) (PR Branch Commit: d179a5e) |
Origin Action Required: Pull request cannot be automatically merged, please rebase your branch from latest HEAD and push again |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: juanvallejo Assign the PR to them by writing No associated issue. Update pull-request body to add a reference to an issue, or get approval with The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: juanvallejo Assign the PR to them by writing No associated issue. Update pull-request body to add a reference to an issue, or get approval with The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: juanvallejo Assign the PR to them by writing No associated issue. Update pull-request body to add a reference to an issue, or get approval with The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
/close |
Fixes #14180
Fixes
--local
flag foroc set ...
subcommands.Addresses #14123 (comment)
kubernetes/kubernetes#45918
Before (With no connection to a cluster)
After (With no connection to a cluster)
Affected oc commands
oc set build-hook
oc set probe
oc set resources
(fix --local flag for kubectl commands kubernetes/kubernetes#45918)[x]oc set triggers
(Fixes Flake: oc set trigger #14180)oc set volume
oc set env
oc set deployment-hook
oc set build-secret
oc set route-backends
cc @openshift/cli-review @smarterclayton