kedgeproject / kedge

Kedge : Simple, Concise & Declarative Kubernetes Applications
Apache License 2.0
298 stars 41 forks source link

Add parameterization support - will support the generation of OpenShift Templates and Helm Charts #272

Open jstrachan opened 7 years ago

jstrachan commented 7 years ago

i.e. figure out a way to define parameters and then refer to them in the kedge file using some kind of syntax, such as ${FOO} that then gets passed through into the generated OpenShift Template or Helm Chart - but get replaced by environment variables and/or default values when generating a vanilla kubernetes YAML.

We need to be careful that parameter expressions don't clash with environment variable expressions for things like versions https://github.com/kedgeproject/kedge/issues/224

surajssd commented 7 years ago

There was some discussion of parameterization of ingress https://github.com/kedgeproject/kedge/issues/41

We can have a general parameterization support in Kedge for kedge files (which is talked of https://github.com/kedgeproject/kedge/issues/224 and https://github.com/kedgeproject/kedge/issues/41) and then some parameterization support that is carried forward in OpenShift templates which is mentioned in this issue.

cdrage commented 6 years ago

Hey @surajssd @kadel can we close this since https://github.com/kedgeproject/kedge/pull/535 was pushed?

surajssd commented 6 years ago

@cdrage parameterization is added but i am not sure of helm chart or openshift template generation