How to avoid auto generated secrets removal during upgrade from OpenShift 4.14 to 4.15
Issue
-
Starting with Red Hat OpenShift Container Platform 4.15, if the internal Image Registry is disabled (i.e., configured with the
Removedmanagement state), theServiceAccounttokenSecretsused for authentication with the internal Image Registry are no longer automatically generated, and if the Image Registry was previously enabled (i.e., configured with theManagedmanagement state) the previously automatically generatedServiceAccounttokenSecretsare automatically deleted. -
Is it possible to preserve auto-generated legacy
ServiceAccounttokenSecretsduring an upgrade to OpenShift 4.15 when the internal Image Registry is disabled?
Environment
- Red Hat Openshift Container Platform (RHOCP)
- 4.14
- 4.15
- Disabled OpenShift internal Image Registry
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.