Created
May 27, 2020 07:05
-
-
Save ikurni/7c932b08a81a26cfbe017556584140a2 to your computer and use it in GitHub Desktop.
Openshift Deploy an Apps pulling from External Registry
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| To deploy apps in openshift using private image registry with password, need to : | |
| 1) Create secret to the private registry : | |
| oc create secret docker-registry <pull_secret_name> \ | |
| --docker-server=<registry_server> \ | |
| --docker-username=<user_name> \ | |
| --docker-password=<password> \ | |
| --docker-email=<email> | |
| 2) Put pull secret to default ServiceAccount (assume deployment using SA default) : | |
| oc secrets link default <pull_secret_name> --for=pull | |
| 3) Create an image stream tag to openshift project |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment