OpenShift Tips

Pull Secrets

Update pull secret without reinstalling

The pull secret required to be able to pull images from the Red Hat registries is stored in the pull-secret secret hosted in the openshift-config namespace.

It is just a matter of modifying that secret with the updated one (in base64):

oc edit secret -n openshift-config pull-secret

NOTE: That secret is translated by the machine-config operator into the /var/lib/kubelet/config.json file so in order to update it is required for the hosts to be rebooted (which is done automatically by the mc operator)

Last updated on 12 Nov 2019
Published on 18 Jun 2019
Edit on GitHub