Last active
October 25, 2024 08:25
-
-
Save sallyom/8dae0ae0494101b9162a6b7c5dafcb7e to your computer and use it in GitHub Desktop.
This file contains 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
## OpenShift4 pull-secret: | |
1. Download your pull-secret from [console.redhat.com](https://console.redhat.com/openshift/install/aws/installer-provisioned) | |
- click on “Download Pull Secret”. Save it somewhere, e.g. ~/some-dir/pull-secret | |
2. Add the apps.ci auth to pull-secret! _internal OpenShift developers only_ | |
- Obtain an API token by visiting https://oauth-openshift.apps.ci.l2s4.p1.openshiftapps.com/oauth/token/request | |
copy the oc login cmd and paste in terminal to login to the ci cluster, then run this: | |
- `$ oc registry login --to ~/some-dir/pull-secret` | |
This will append the auth from registry.ci.openshift.org to your cloud.openshift.com pull-secret but it will also | |
make the pull-secret multi-line. | |
3. Repeat step 2, except this time, authenticate to the cluster-bot image registry (for cluster-bot image builds, if you | |
are using cluster-bot to build your release image. API token request here: | |
https://oauth-openshift.apps.build01.ci.devcluster.openshift.com/oauth/token/request | |
This will append the auth from cluster-bot registry to the above pull-secret but it will also | |
make the pull-secret multi-line. | |
4. Repeat step 3 to authenticate to build05 cluster registry: | |
https://oauth-openshift.apps.build05.l9oh.p1.openshiftapps.com/oauth/token/display | |
This will append the auth from cluster-bot registry to the above pull-secret but it will also | |
make the pull-secret multi-line. | |
The install-config requires a single-line pull-secret. That can be obtained with step 5. | |
5. `$ jq -c < ~/some-dir/pull-secret` | |
- run this jq cmd to get the single-line pull-secret to pass to openshift-installer and/or to create an install-config.yaml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
build09 login link https://console-openshift-console.apps.build09.ci.devcluster.openshift.com/topology/all-namespaces?view=graph