Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 1.36 KB

README.md

File metadata and controls

41 lines (27 loc) · 1.36 KB

Scripts for deploying tools needed for proper run of 3scale-tests into OpenShift

Environment setup

Project creation

You can use already existing or new project for the services deployment. You can create a new project through CLI: oc new-project ${NAMESPACE} --skip-config-write=true

Secrets

If you have pull-secret for accessing private registries, you can link it up with service accounts:

oc create -f secret/pull-secret.yaml --namespace ${NAMESPACE}
oc secrets link default pull-secret --for=pull --namespace ${NAMESPACE}
oc secrets link deployer pull-secret --for=pull --namespace ${NAMESPACE}

Services deployment

Individual service deployment

oc apply -k base/${SERVICE_NAME}/ --namespace ${NAMESPACE}

All services deployment

oc apply -k overlays/all/ --namespace ${NAMESPACE}

RHSSO and ApicastOperator deployments

Despite there are default values for the deployment namespaces in the scripts, you can set them yourself through environment variable ${NAMESPACE} for each script.

Run RHSSO deployment script

./base/rhsso/deploy-rhsso.sh

Default login username is admin. Default password is admin.
You can change default credential values through environment variables ${ADMIN_USERNAME} and ${ADMIN_PASSWORD} accordingly.

Run ApicastOperator deployment script

./base/apicast/deploy-apicast.sh