-
-
Save ArangoGutierrez/42f393ddae682707892125d228824416 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 [openshift.com/try](https://cloud.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. `$ 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
OpenShift4 pull-secret:
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.
$ jq -c < ~/some-dir/pull-secret