Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-5677

operator backup with preexisting pv does not work

    XMLWordPrintable

Details

    Description

      Feature from THREESCALE-5312

      does not work if pre-existing persistentvolume is used. Operator tries to create pvc from that pv, but size definition resources.requests.storage is missing and attempt to create pvc fails. reproducible also manually:

       

      $ echo 'apiVersion: v1
      kind: PersistentVolumeClaim
      metadata:
      {{ name: test-qe-examplepvc}}
      spec:
      {{ accessModes:}}
      {{ - ReadWriteOnce}}
      {{ volumeName: "mypreexistingvolume"' | oc create -f -}}
      The PersistentVolumeClaim "test-qe-examplepvc" is invalid: spec.resources[storage]: Required value

      Attachments

        Activity

          People

            Unassigned Unassigned
            mganisin@redhat.com Marian Ganisin
            Miguel Soriano Miguel Soriano
            Marian Ganisin Marian Ganisin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: