Error "Forbidden: updates to reclaimPolicy are forbidden" while editing storage class on OCP IPI installation.
Issue
- Unable to change the storageclass reclaimPolicy from Delete to Retain.
- Getting below error while changing the storageclass reclaimPolicy.
# storageclasses.storage.k8s.io "gp2" was not valid:
# * reclaimPolicy: Forbidden: updates to reclaimPolicy are forbidden.
Environment
- Openshift container platform
- 4.4
- 4.5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.