Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-29210

Several CLI example commands do not work

XMLWordPrintable

    • No
    • False
    • Hide

      None

      Show
      None

      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:

              aguclu@redhat.com Arda Guclu
              rhn-support-ahoffer Andrea Hoffer
              ying zhou ying zhou
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: