[alr@tubescreamer ~]$ curl -s https://raw.githubusercontent.com/fabric8-launcher/launcher-openshift-templates/master/scripts/minishift/install.sh | bash
This script will install the Launcher in Minishift. Make sure that:
- Minishift is running
- You have run oc login previously
- Your GitHub Username is correct [found from git config github.user]: ALRubinger
- Your GitHub Token is correct [found from git config github.token]: *REDACTED*
Press ENTER to continue ...
Creating launcher project ...
Now using project "launcher" on server "https://192.168.42.44:8443".
You can add applications to this project with the 'new-app' command. For example, try:
oc new-app centos/ruby-22-centos7~https://github.com/openshift/ruby-ex.git
to build a new example application in Ruby.
Processing the template and installing ...
Error: unknown flag: --local
Usage:
oc process (TEMPLATE | -f FILENAME) [-v=KEY=VALUE] [options]
Examples:
# Convert template.json file into resource list and pass to create
oc process -f template.json | oc create -f -
# Process template while passing a user-defined label
oc process -f template.json -l name=mytemplate
# Convert stored template into resource list
oc process foo
# Convert stored template into resource list by setting/overriding parameter values
oc process foo PARM1=VALUE1 PARM2=VALUE2
# Convert template stored in different namespace into a resource list
oc process openshift//foo
# Convert template.json into resource list
cat template.json | oc process -f -
Options:
-f, --filename='': Filename or URL to file to read a template
-l, --labels='': Label to set in all resources for this template
-o, --output='json': Output format. One of: describe|json|yaml|name|template|templatefile.
--output-version='': Output the formatted object with the given version (default api-version).
--parameters=false: Do not process but only print available parameters
--raw=false: If true output the processed template instead of the template's objects. Implied by -o describe
-t, --template='': Template string or path to template file to use when -o=template or -o=templatefile. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview]
-v, --value=[]: Specify a key-value pair (eg. -v FOO=BAR) to set/override a parameter value in the template.
Use "oc options" for a list of global command-line options (applies to all commands).
error: no objects passed to create
Enabling Launcher Creator
Error from server: deploymentconfigs "launcher-frontend" not found
All set! Enjoy!
Output: