Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Kedge generate should support Kubernetes List also #602

Open
piyush-garg opened this issue Feb 26, 2018 · 4 comments
Open

Kedge generate should support Kubernetes List also #602

piyush-garg opened this issue Feb 26, 2018 · 4 comments

Comments

@piyush-garg
Copy link
Collaborator

Right now, kedge generate is returning all the resource separated by ---. We should add a flag which will return Kubernetes List where items will contain all the resources like this

@concaf
Copy link
Collaborator

concaf commented Feb 26, 2018

I really like the idea. We should have a flag like generate --template and generate --list to generate OpenShift template or Kubernetes list. In such a case, we should throw the output for each input file in one Kubernetes List or OpenShift template.

For OpenShift templates, we can also translate the parameters used in Kedge to parameters in template parameters.

@kadel
Copy link
Member

kadel commented Mar 8, 2018

What is the benefit of using List compared to what we have right now?

@concaf
Copy link
Collaborator

concaf commented Mar 8, 2018

List can be a nice way to group generated resources and version commit to your code. Generating templates extending the same logic will also be very helpful.

@kadel
Copy link
Member

kadel commented Mar 8, 2018

I can see benefits in generating Templates.
I just don't see what benefits will List bring compared to our current solution.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants