[hg612-exporter] New chart (#29)

* [hg612-export] New chart

* Remove default from identifier

* Correct maintainer

* Fix chart params
This commit is contained in:
2021-12-05 08:34:04 +00:00
committed by GitHub
parent dd6d80ce25
commit 47da657ac8
13 changed files with 490 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
{{/* 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" . }}