mirror of
https://github.com/nikdoof/helm-charts.git
synced 2025-12-25 23:59:24 +00:00
[hg612-exporter] New chart (#29)
* [hg612-export] New chart * Remove default from identifier * Correct maintainer * Fix chart params
This commit is contained in:
15
charts/hg612-exporter/templates/common.yaml
Normal file
15
charts/hg612-exporter/templates/common.yaml
Normal 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" . }}
|
||||
Reference in New Issue
Block a user