fabric8-maven-plugin icon indicating copy to clipboard operation
fabric8-maven-plugin copied to clipboard

OpenShift Templates

Open rhuss opened this issue 8 years ago • 5 comments

At the moment on plain Kubernetes objects are created. When running in OpenShift mode the template handling should be introduced.

In contrast to the old implementation where the template is created first and then, if pure Kubernetes objects are requested, the template is applied locally and objects from non-Kubernetes packages are removed, the discrimination template yes/no should be done from the very beginning.

Also it could make sense that even for OpenShift non-template can be created.

The idea is to have an OpenShiftConfiguration object, inherited from KubernetesKonfiguration and stored in a member openshift, so that the discrimnation happens based on the top-level configuration tag

<kubernetes>
  <services> ...
  ...
</kubernetes>

vs

<openshift>
  <useTemplates>true</useTemplates>

<openshift>

with useTemplates == true being the default. (useTemplates is then also only available for <openshift>

rhuss avatar Apr 08 '16 13:04 rhuss

Has any work been done on this? looking in the source can't see any mentions of io.fabric8.openshift.api.model.TemplateBuilder, which i used with the v2 plugin

garethahealy avatar Aug 26 '16 12:08 garethahealy

FWIW gofabric8 installs things as kubernetes templates.

We could have a plugin configuration to force the openshift.yml to be converted to an OpenShift template. I guess it depends if openshift users ever choose to go with helm which supports install, upgrade & delete - rather than just install

jstrachan avatar Aug 26 '16 13:08 jstrachan

This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!

stale[bot] avatar Dec 13 '18 12:12 stale[bot]

This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!

stale[bot] avatar Mar 13 '19 13:03 stale[bot]

You're such a pain,stalebot

rohanKanojia avatar Mar 20 '19 14:03 rohanKanojia