-
Bug
-
Resolution: Unresolved
-
Undefined
-
4.14, 4.15
-
No
-
False
-
Several oc examples are incorrect. These are used in the CLI reference docs, but would also appear in the oc CLI help.
The commands that don't work have been removed manually from the CLI reference docs via this update: https://github.com/openshift/openshift-docs/compare/9907074162999c982a8a97c45665c98913d848c9..441f3419ef460d9863a45e4c2d6914b1c019e1d1
List of commands:
- oc adm copy-to-node --copy=new-bootstrap-kubeconfig=/etc/kubernetes/kubeconfig
- oc adm copy-to-node --copy=new-bootstrap-kubeconfig=/etc/kubernetes/kubeconfig -l node-role.kubernetes.io/master
- oc adm certificates regenerate-leaf -A --all
- oc adm ocp-certificates regenerate-leaf -n openshift-config-managed kube-controller-manager-client-cert
- oc adm certificates regenerate-machine-config-server-serving-cert --update-ignition=false
- oc adm certificates update-ignition-ca-bundle-for-machine-config-server
- oc adm certificates regenerate-signers -A --all
- oc adm certificates regenerate-signers -n openshift-kube-apiserver-operator loadbalancer-serving-signer
- oc adm ocp-certificates remove-old-trust configmaps -A --all
- oc adm ocp-certificates remove-old-trust -n openshift-config-managed configmaps/kube-apiserver-aggregator-client-ca
For more information, see the feedback on these PRs:
- 4.15 CLI doc PR: https://github.com/openshift/openshift-docs/pull/71213
- 4.14 CLI doc PR: https://github.com/openshift/openshift-docs/pull/65709
- incorporates
-
OCPBUGS-29160 The example command for `oc adm copy-to-node` not work
- Closed
-
OCPBUGS-29161 The example command for `oc adm ocp-certificates update-ignition-ca-bundle-for-machine-config-server` is wrong
- Closed
-
OCPBUGS-29163 The example command for `oc adm ocp-certificates remove-old-trust` doest not work
- Closed
- links to