-
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
Deprecate process -v/--value in favor of -p/--param #12001
Conversation
i'm certainly in favor of it. @fabianofranz any issues w/ this? |
@openshift/api-review ptal |
Test case showing deprecated behavior works. API change approved. |
[test] |
Works for me. |
os::cmd::expect_success "oc process -f '${required_params}' --value=required_param=someval" | ||
os::cmd::expect_success "oc process -f '${required_params}' -v required_param=someval" | ||
os::cmd::expect_success "oc process -f '${required_params}' --param=required_param=someval" | ||
os::cmd::expect_success "oc process -f '${required_params}' -p required_param=someval | oc create -f -" | ||
# parameters with multiple equal signs are OK | ||
os::cmd::expect_success "oc process -f '${required_params}' required_param=someval=moreval | oc create -f -" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm interested in this test both -v
and -p
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[merge] |
Evaluated for origin test up to 27067a9 |
[merge] |
Evaluated for origin merge up to 27067a9 |
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/11675/) (Base Commit: 6f81303) |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/11679/) (Base Commit: 76a5795) (Image: devenv-rhel7_5413) |
Fixes #8577
ptal @bparees @csrwng
Assuming this is acceptable, I will make a corresponding PR for openshift-docs.