Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

InnovateUKGitHub/openshift-webproxy

Open more actions menu

Repository files navigation

openshift-webproxy

Simple webproxy that redirects to a bunch of sites maintained in sites.txt

OpenShift project creation

Create a project/namespace to hold the gubbins. Use a node selector of 'dev' or 'prod' to allocate to specific node types (defaults to 'dev').

oc adm new-project my-webproxy --node-selector='purpose=dev'
oc project my-webproxy

Deployment

make deploy

Optionally, you can create a webhook for GitHub by setting and passing in a webhook secret. Also pass in ENV as 'dev' or 'prod' (defaults to 'dev'). In 'prod' real certs are pulled from 'pass', whilst 'dev' uses the openshift default router certs:

make deploy WEBHOOK_SECRET=mysecret ENV=dev

Redeployment

make redeploy ENV=dev

Optionally, you can create a webhook for GitHub by setting and passing in a webhook secret:

make redeploy WEBHOOK_SECRET=mysecret ENV=dev

Undeployment

make undeploy

Remove openshift project

oc project delete my-webproxy

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.