InTimeTecGitHub / kubeter

A desktop tool to configure a dev environment for kubernetes and design a cluster.
Apache License 2.0
1 stars 4 forks source link

Generate YAML files. #13

Open muttalkadavul opened 4 years ago

muttalkadavul commented 4 years ago

Create functions to generate YAML files.

refer kubectl api docs.

koppathachan commented 4 years ago

Since we are saving the files as yaml exporting it would be easy. So we need to be clear on what we are saving. Generally we don't hardcode values in the yaml rather they are maintained separately. The question is if we are saving it as yaml, why do we need to export again. @Harshitha-G @katmug @Imlebowski

katmug commented 4 years ago

@sasidakh :

1 we need to generate yaml files to push it to git. whether we export it or not is a decision to be made

2 Regarding export : i don't see the use case valid anymore . Initially the purpose was to be able to share the yaml file with others users directly. If we are storing the yaml files on git, the sharing can happen via git.

muttalkadavul commented 4 years ago

https://www.npmjs.com/package/@kubernetes/client-node