mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-24 16:09:08 +00:00
31 lines
883 B
YAML
31 lines
883 B
YAML
|
apiVersion: v1
|
||
|
kind: ConfigMap
|
||
|
metadata:
|
||
|
name: {{ template "modem-stats.fullname" . }}
|
||
|
labels:
|
||
|
app: {{ template "modem-stats.name" . }}
|
||
|
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
||
|
release: "{{ .Release.Name }}"
|
||
|
heritage: "{{ .Release.Service }}"
|
||
|
data:
|
||
|
config.ini: |
|
||
|
[GENERAL]
|
||
|
Delay = {{ .Values.config.delay }}
|
||
|
{{- if .Values.debug }}
|
||
|
Output = True
|
||
|
{{- else }}
|
||
|
Output = False
|
||
|
{{- end }}
|
||
|
[INFLUXDB]
|
||
|
Address = {{ .Values.config.influxdb.host }}
|
||
|
Port = {{ .Values.config.influxdb.port }}
|
||
|
Database = {{ .Values.config.influxdb.database }}
|
||
|
Username = {{ .Values.config.influxdb.username }}
|
||
|
Password = {{ .Values.config.influxdb.password }}
|
||
|
{{- if .Values.config.influxdb.ssl }}
|
||
|
Verify_SSL = True
|
||
|
{{- else }}
|
||
|
Verify_SSL = False
|
||
|
{{- end }}
|
||
|
[MODEM]
|
||
|
URL = {{ .Values.config.modem.url }}
|