-
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
Group admin cmds #3557
Group admin cmds #3557
Conversation
@liggitt @smarterclayton PTAL |
I would keep the more descriptive names ( |
7c55363
to
fd954ee
Compare
[test] |
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin/3617/) |
@liggitt updated, ptal |
@@ -283,6 +283,9 @@ echo "templates: ok" | |||
[ "$(openshift kubectl 2>&1 | grep 'Kubernetes cluster')" ] | |||
[ "$(oadm 2>&1 | grep 'OpenShift Administrative Commands')" ] | |||
[ "$(openshift admin 2>&1 | grep 'OpenShift Administrative Commands')" ] | |||
[ "$(oadm | grep 'Basic Commands:')" ] | |||
[ "$(oadm | grep 'Install Commands:')" ] | |||
[ "$(oadm ca | grep 'Manage certificates')" ] | |||
[ "$(openshift start kubernetes 2>&1 | grep 'Kubernetes server components')" ] |
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.
Add a group of test invocations to make sure the old commands still exist. Just invoke --help on them and grep for an expected help string for openshift admin create-master-certs
, etc
fd954ee
to
0010864
Compare
@liggitt added deprecated cmd checks in hack/test-cmd.sh, please review/merge |
LGTM. Squash? |
Group oadm certificate related cmds under 'oadm ca' To maintain backward compatibility, old commands still work with deprecated message but are not surfaced in the help message.
0010864
to
bee9eda
Compare
[merge] |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_origin/2722/) (Image: devenv-fedora_1988) |
re[merge] |
Evaluated for origin up to bee9eda |
Merged by openshift-bot
closes #3424 , #2461