hcfc

module
v1.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2019 License: Apache-2.0

README

hcfc

generate Helm Chart from yaml config

Getting start
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
Function template
  1. ignore {{ ignore .Values.Cat }} => {{ .Values.Cat }}
  2. text {{ text .Values.Cat }} => .Values.Cat
  3. toToml
  4. toYaml
  5. fromYaml
  6. toJson
  7. fromJson
  8. include
  9. required
  10. tpl

Directories

Path Synopsis
cmd
cli
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL