Uploaded image for project: 'OpenShift API for Data Protection'
  1. OpenShift API for Data Protection
  2. OADP-512

Remove grep from `oc exec .. velero` examples

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Normal Normal
    • OADP 1.0.3
    • None
    • Documentation
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ToDo
    • 0
    • 0
    • 0
    • None

      Simplify by removing grep.

      Replace

      oc exec $(oc get pods -n openshift-adp -o name | grep velero) -- ./velero ...

      with

      oc -n openshift-adp exec deployment/velero -c velero -- ./velero ...

      Found on at least https://docs.openshift.com/container-platform/4.8/backup_and_restore/application_backup_and_restore/troubleshooting.html#oadp-debugging-oc-cli_oadp-troubleshooting

              rhn-support-sbeskin Sasha Beskin
              tkaovila@redhat.com Tiger Kaovilai
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: