Files
helm-charts/charts/hg612-exporter/templates/common.yaml
Andrew Williams 47da657ac8 [hg612-exporter] New chart (#29)
* [hg612-export] New chart

* Remove default from identifier

* Correct maintainer

* Fix chart params
2021-12-05 08:34:04 +00:00

16 lines
497 B
YAML

{{/* Make sure all variables are set properly */}}
{{- include "common.values.setup" . }}
{{/* Append the hardcoded settings */}}
{{- define "hg612-exporter.harcodedValues" -}}
command: ./app
args:
- "--host={{ .Values.modem.host }}"
- "--identifier={{ .Values.modem.identifier }}"
- "--interval={{.Values.modem.interval }}"
{{- end -}}
{{- $_ := mergeOverwrite .Values (include "hg612-exporter.harcodedValues" . | fromYaml) -}}
{{/* Render the templates */}}
{{ include "common.all" . }}