You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 19, 2018. It is now read-only.
OpenShift templates can be instantiated two ways for different use cases.
oc create -f <template>: this uploads the template to openshift. This might be an end-user or it might be an admin pre-loading templates for all users by passing in -n openshift. This does not actually create any resources; just makes the app template available for parameterized instantiation. Creating an app from a template can be done from CLI or web UI. No params are parsed or required when creating or uploading a template.
oc new-app ...: this creates an application. If a template is supplied then the params required params must be passed in using --param=foo=bar. This would be done by an end-user.
Use case 1 feels like template installation. Use case 2 is analogous to running or starting an application.
So how should we handle these two use-cases? When a template is run should we require params every time using new-app? If so, how can we handle uploading a template, use case 1? atomic install really cannot be used for this as it's currently implemented.