Oc new-app
Jump to navigation
Jump to search
Internal
Overview
A tools that generates an appropriate JSON configuration so OpenShift can build an image based on it.
If new-app finds a Dockerfile in the repository, it uses the "docker" build strategy. Otherwise it uses the "source" strategy. The strategy can be explicitly set with --strategy option.
It can also be used to instantiate a stored template:
oc new-app --template=example-template --param=USERNAME=somevalue