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

[IBU][Doc] The apiVersion is wrong in the example of DataProtectionApplication

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • 4.16.z
    • Documentation / CNF
    • None
    • 0.5
    • False
    • Hide

      None

      Show
      None
    • Release Note Not Required

      Looking here:
      https://docs.openshift.com/container-platform/4.16/edge_computing/image_based_upgrade/preparing_for_image_based_upgrade/cnf-image-based-upgrade-install-operators.html#ztp-image-based-upgrade-installing-oadp_install-operators

      The example for DataProtectionApplication.yaml has a wrong apiVersion

      Currently the doc shows:
      apiVersion: oadp.openshift.io/v1

      Using this apiVersion will result in the following error:
      message: NonCompliant; violation - secrets [cloud-credentials] not found in
      namespace openshift-adp; violation - couldn't find mapping resource with kind
      DataProtectionApplication, please check if you have CRD deployed; violation

      • couldn't find mapping resource with kind BackupStorageLocation, please check
        if you have CRD deployed

      The correct apiVersion is:
      apiVersion: oadp.openshift.io/v1alpha1

              rhn-support-amolnar Alexandra Molnar
              achuzhoy@redhat.com Alexander Chuzhoy
              Yang Liu Yang Liu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: