generate Helm Chart from yaml config
go get -u github.com/batazor/hcfc/cmd/hcfc
hcfc init // Create deploy.yaml
hcfc generate -o ./mychart -f deploy.yaml
value.yaml
chart:
name: hcfc
description: ""
version: 0.1.0
deployment:
image:
repository: alpine
tag: latest
service:
type: ClusterIP
ingress:
enable: true
domain: example.com
- ignore
{{ ignore .Values.Cat }} => {{ .Values.Cat }}
- text
{{ text .Values.Cat }} => .Values.Cat
- toToml
- toYaml
- fromYaml
- toJson
- fromJson
- include
- required
- tpl