Created
January 16, 2018 13:43
-
-
Save iocanel/61056de2f3fbb7e7f12ccfcb6fd7162c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
pushd ~/workspace/src/github.com/syndesisio/syndesis | |
./app/build.sh --clean --openshift -f | |
oc create -f app/deploy/support/serviceaccount-as-oauthclient-restricted.yml | |
oc create -f app/deploy/syndesis-restricted.yml | |
oc new-app syndesis-restricted -p ROUTE_HOSTNAME=syndesis.$(minishift ip).nip.io -p OPENSHIFT_MASTER=$(oc whoami --show-server) -p OPENSHIFT_PROJECT=$(oc project -q) -p OPENSHIFT_OAUTH_CLIENT_SECRET=$(oc sa get-token syndesis-oauth-client) | |
popd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment