mirror of
https://github.com/nikdoof/helm-charts.git
synced 2025-12-13 05:32:14 +00:00
* [hg612-export] New chart * Remove default from identifier * Correct maintainer * Fix chart params
16 lines
497 B
YAML
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" . }}
|