Closed watkinspd closed 8 years ago
Closest workaround for now is CLI oc new-app
, but I can create such template.
I have created the template and tested successfully to deploy bca-api. To use it, until the template has been promoted to root namespace, copy the yaml file to your local folder and run
oc create -f dockerfile-over-git.yaml
for updating existing template, run
oc replace -f dockerfile-over-git.yaml
instead.
There are several imperfections/caveats due to limited programbility within a template:
There should be a instant-app type template that specifies a Docker build strategy and uses the Dockerfile and other application files from a git repo.
Scenario: