Browse Source

[skip travis] minor changes to the doc

master
Nicolas Massé 7 years ago
committed by GitHub
parent
commit
dac2cbfb09
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      support/openshift/README.md

6
support/openshift/README.md

@ -1,4 +1,4 @@
# Using this Ansible role from Kubernetes # Using this Ansible role on OpenShift
You can use the provided OpenShift template to create all the mandatory objects: You can use the provided OpenShift template to create all the mandatory objects:
@ -36,13 +36,13 @@ Wait for the build to complete:
oc logs -f bc/deploy-3scale-api-echo-api oc logs -f bc/deploy-3scale-api-echo-api
``` ```
To start this build from a Jenkins pipeline, you will need first to give the `system:build-strategy-custom` role to the `jenkins` Service Account: To start this build from a Jenkins pipeline, you will need to give the `system:build-strategy-custom` role to the `jenkins` Service Account:
```sh ```sh
oc adm policy add-role-to-user system:build-strategy-custom -z jenkins oc adm policy add-role-to-user system:build-strategy-custom -z jenkins
``` ```
Then, from your Jenkins pipeline, you can use: Then, from your Jenkins pipeline you can use:
```sh ```sh
openshift.withCluster() { openshift.withCluster() {

Loading…
Cancel
Save