Created
February 26, 2019 17:59
-
-
Save ALRubinger/0e89ed95b190a72bb6501d5ed4499cc4 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
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.99.105: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! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment