rfcs icon indicating copy to clipboard operation
rfcs copied to clipboard

RFC: Pipeline Kubernetes CRD

Open cirocosta opened this issue 5 years ago • 4 comments

Rendered

cirocosta avatar Feb 27 '20 17:02 cirocosta

This looks cool! I have two comments.

  1. This might be more relevant for a V2 of this controller. Do you think it would be useful to have the ability to parameterize the pipeline resource as well so we can have different variations of the same pipeline come up? I don't know how many users run into this issue but on a past team we had a several variations of the same pipeline with slightly different resource parameters. Whenever we deployed a fresh Concourse we found ourselves desiring a way to bring up all those pipelines automatically.

  2. Not sure if this was already implied but it would be nice to be able to use the controller to also "export" all the current pipeline definitions. These could then be imported by the controller into a new deployment. This would also for the time being serve as a partial workaround for the parameterization case.

muntac avatar Mar 04 '20 20:03 muntac

As it so happens, @topherbullock and I built a quick spike of this concept back in 2018.

The simplest hack was to directly pass through the body of the pipeline as a runtime.RawExtension, which you can see in pipeline_types.go.

jchesterpivotal avatar Apr 14 '20 22:04 jchesterpivotal

This might be of interest at least with respect to user experience https://github.com/alphagov/gsp/tree/master/components/concourse-operator

andy-paine avatar Jun 03 '20 16:06 andy-paine

as curiosity matter, what is the state of this ?

wmendes-ionos avatar Jul 13 '23 14:07 wmendes-ionos