Files
helm-charts/charts/hg612-exporter/templates/common.yaml

15 lines
482 B
YAML

{{/* Make sure all variables are set properly */}}
{{- include "common.values.setup" . }}
{{/* Append the hardcoded settings */}}
{{- define "hg612-exporter.harcodedValues" -}}
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" . }}