Skip to content
This repository was archived by the owner on Jan 19, 2018. It is now read-only.
This repository was archived by the owner on Jan 19, 2018. It is now read-only.

Handling OpenShift templates #222

@aweiteka

Description

@aweiteka

OpenShift templates can be instantiated two ways for different use cases.

  1. 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.
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions