From 2ed75235b8bdbe4ec667ac79bd0c60e5e3db393b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Tue, 16 Jan 2018 11:10:38 +0100 Subject: [PATCH] add deployment guide for openshift --- 3scale-amp-openshift-templates | 2 +- README.md | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/3scale-amp-openshift-templates b/3scale-amp-openshift-templates index 741a4ac..5d8b855 160000 --- a/3scale-amp-openshift-templates +++ b/3scale-amp-openshift-templates @@ -1 +1 @@ -Subproject commit 741a4ac0e5a725a24a802badc621d53bd3ea67d1 +Subproject commit 5d8b855cdf882dbce81ab6edb92ff5bf1344d1e7 diff --git a/README.md b/README.md index 13ca15a..1ca8b99 100644 --- a/README.md +++ b/README.md @@ -144,7 +144,10 @@ Note: The rest of this guide expects that your OpenShift environment is configured to work with proxies ([as explained here](https://docs.openshift.com/container-platform/latest/install_config/http_proxies.html)). -TODO +To instanciate Apicast with his sidecar container, just use the [modified template](https://github.com/nmasse-itix/3scale-amp-openshift-templates/blob/master/apicast-gateway/apicast.yml): +```sh +oc process -f https://raw.githubusercontent.com/nmasse-itix/3scale-amp-openshift-templates/master/apicast-gateway/apicast.yml -p ACCESS_TOKEN= -p THREESCALE_PORTAL_ENDPOINT=https://-admin.3scale.net -p BACKEND_ENDPOINT_OVERRIDE=https://su1.3scale.net | oc create -f - +``` ## Check that it works