fabric8io/fabric8-pipeline-library

PodTemplates should accept the cloud name as a parameter

iocanel opened this issue · 1 comments

The kubernetes-plugin also the user to name the cloud.

Some images come with preconfigured a cloud named kubernetes (e.g. the Fabric8 Jenkins image), while others use other names like openshift (e.g. the Openshift image) etc.

In any case the pipelines, should be able to optionally accept the cloud name as a parameter, defaulting to kubernetes if none is specified.

It seems, that there is a mechanism in place that picks up kubernetes or openshift based on the environment.

This makes for a great default value, but ideally the user should be able to optionally set the cloud name to whatever he needs to.