From dba77367cb78c7b0cabf7c4defc992b0f7aca8d7 Mon Sep 17 00:00:00 2001 From: Nicolas MASSE Date: Wed, 19 Jun 2019 11:03:17 +0200 Subject: [PATCH] [skip travis] fix doc doc containing oc commands that don't work anymore --- tests/setup/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/setup/README.md b/tests/setup/README.md index ebd9675..e9b42fc 100644 --- a/tests/setup/README.md +++ b/tests/setup/README.md @@ -17,8 +17,8 @@ oc new-app --template=3scale-gateway --name=apicast--staging -p CONFIGURAT oc new-app --template=3scale-gateway --name=apicast--production -p CONFIGURATION_URL_SECRET=3scale-tenant- -p CONFIGURATION_CACHE=60 -p RESPONSE_CODES=true -p LOG_LEVEL=info -p CONFIGURATION_LOADER=boot -p APICAST_NAME=apicast--production -p DEPLOYMENT_ENVIRONMENT=production -p IMAGE_NAME=quay.io/3scale/apicast:v3.4.0 oc scale dc/apicast--staging --replicas=1 oc scale dc/apicast--production --replicas=1 -oc expose svc/apicast--staging --wildcard-policy=Subdomain --overrides='{ "apiVersion": "route.openshift.io/v1", "kind": "Route", "spec": { "tls": { "insecureEdgeTerminationPolicy": "Allow", "termination": "edge" } } }' --hostname=wildcard.-staging.app... -oc expose svc/apicast--production --wildcard-policy=Subdomain --overrides='{ "apiVersion": "route.openshift.io/v1", "kind": "Route", "spec": { "tls": { "insecureEdgeTerminationPolicy": "Allow", "termination": "edge" } } }' --hostname=wildcard.-production.app... +oc create route edge apicast-nmasse-redhat-staging --service=apicast-nmasse-redhat-staging --hostname=wildcard.nmasse-redhat-staging.app.itix.fr --insecure-policy=Allow +oc create route edge apicast-nmasse-redhat-production --service=apicast-nmasse-redhat-production --hostname=wildcard.nmasse-redhat-production.app... --insecure-policy=Allow ``` Provision the Red Hat SSO tenants with the included playbooks: