Part of the code in this repository comes from helm and helm-cm-push.
helm plugin install https://github.com/lazychanger/helm-vivhelm viv versionhelm create examplevalues.yaml
...
subChart:
serviceSelector:
name:
subChart2:
# realname is <.ReleaseName>-<.Values.subChart2.serviceName>
serviceName: subChartvivs/overrideSubChartServiceName.yaml
subChart:
serviceSelector:
name: "{{ .Release.Name }}.{{ .Values.subChart2.serviceName }}"$ helm viv install --generate-name exmaple/simple-exmaple -f ./values.yaml --dry-runadd --debug to your command, and then you can see vivTemp dir in your chart.
command
$ helm viv template --generate-name exmaple/simple-exmaple -f ./values.yaml --debugexample/simple-example directory
$ tree ./example/simple-example
#./example/simple-example
#├── Chart.lock
#├── Chart.yaml
#├── charts
#│ └── ingress-0.1.0.tgz
#├── templates
#│ ├── NOTES.txt
#│ ├── _helpers.tpl
#│ ├── deployment.yaml
#│ ├── hpa.yaml
#│ └── serviceaccount.yaml
#├── values.yaml
#├── vivTemp
#│ ├── _charts_ingressAlias_charts_service_vivs_values.yaml
#│ ├── _charts_ingressAlias_vivs_values.yaml
#│ ├── vivs_autoscaling.yaml
#│ └── vivs_values.yaml
#└── vivs
# ├── autoscaling.yaml
# └── values.yaml| name | default | desc |
|---|---|---|
| HELM_VIV_HELMBIN | helm | use helmbin when viv proxy helm command |