PersistentVolumeClaim is invalid: spec.resources.requests.storage: Forbidden: field can not be less than previous value

Solution Verified - Updated -

Issue

  • While upgrading Quay via operator , if Quay or Clair database storage i.e PVC is bigger or smaller than 50GB is set manually then QR (Quay Registry) status shows following error messages:
message: 'all Kubernetes objects not created/updated successfully: PersistentVolumeClaim
      "quay-clair-postgres" is invalid: spec.resources.requests.storage: Forbidden:
      field can not be less than previous value'
    reason: ComponentCreationFailed

Environment

  • Red Hat Quay 3.5.x
  • Red Hat OpenShift Container Platform 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content