Bryan Parry
2018-05-02 18681bf4270ba7cd50fc53038f67067f0973a556
Set nexus hostname using oc route command
1 files modified
2 ■■■ changed files
exercises/2-attack-of-the-pipelines/README.md 2 ●●● patch | view | raw | blame | history
exercises/2-attack-of-the-pipelines/README.md
@@ -177,7 +177,7 @@
2. To prepare Nexus to host the binaries created by the frontend and backend builds we need to run a prepare-nexus script. Before we do this we need to export some variables change `<YOUR_NAME>` and `somedomain` accordingly.
```bash
export NEXUS_SERVICE_HOST=nexus-<YOUR_NAME>-ci-cd.apps.somedomain.com
export NEXUS_SERVICE_HOST=$(oc get route nexus --template='{{.spec.host}}' -n <YOUR_NAME>-ci-cd)
export NEXUS_SERVICE_PORT=80
npm run prepare-nexus
```