chart-fusion

command module
v0.0.0-...-32b5548 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2021 License: GPL-2.0 Imports: 41 Imported by: 0

README

chart-fusion

Fuse Kubernetes YAMLs into Zero Template Helm Charts

foldername:
  a.ymal
  b.yaml



Get names of each resource
  remove prefix
  generate key
    - "" => camel({apiGroup}){Kind}, sanke(camel({apiGroup}){Kind}).yaml
    - !"" => {name}, sanke({name}).yaml
  values:
    key:
      apiVersion:
      kind: 
      metdata:
      spec:
      # remove status
helm template kubedb kubedb > /home/tamal/go/src/github.com/tamalsaha/chart-fusion/kubedb/chart.yaml
$ go run *.go fuse -f ./kubedb/chart.yaml
$ helm template charts | kubectl apply -f -

Restrictions

  • Can't create namespaced resource in multiple different namespaces

Configure Helm

helm repo add stable https://charts.helm.sh/stable
helm repo add ui-wizards https://storage.googleapis.com/bundles.kubepack.com/ui
helm repo update

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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