Part of the code in this repository comes from helm and helm-cm-push.
helm plugin install https://github.com/lazychanger/helm-viv
helm viv version
helm create example
values.yaml
...
subChart:
serviceSelector:
name:
subChart2:
# realname is <.ReleaseName>-<.Values.subChart2.serviceName>
serviceName: subChart
vivs/overrideSubChartServiceName.yaml
subChart:
serviceSelector:
name: "{{ .Release.Name }}.{{ .Values.subChart2.serviceName }}"
$ helm viv install --generate-name exmaple/simple-exmaple -f ./values.yaml --dry-run
add --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 --debug
example/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 |