Various smaller updates on k8s folder

This commit is contained in:
Moritz Graf
2022-10-09 14:07:40 +02:00
parent 42afa26f89
commit be836d8882
14 changed files with 225 additions and 74 deletions
-8
View File
@@ -1,8 +0,0 @@
persistence:
size: 20Gi
setDefaultUser:
enabled: true
user:
username: "admin"
password: "hdlmfg"
View File
+25
View File
@@ -0,0 +1,25 @@
configmap:
config:
enabled: true
data:
mosquitto.conf: |
listener {{ .Values.service.main.ports.main.targetPort }}
{{- if .Values.websockets.enabled }}
listener {{ .Values.service.websockets.ports.websockets.targetPort }}
protocol websockets
{{- end }}
{{- if .Values.auth.enabled }}
allow_anonymous false
{{- else }}
allow_anonymous true
{{- end }}
{{- if .Values.persistence.data.enabled }}
persistence true
persistence_location {{ .Values.persistence.data.mountPath }}
autosave_interval 1800
{{- end }}
{{- if .Values.persistence.configinc.enabled }}
include_dir {{ .Values.persistence.configinc.mountPath }}
{{- end }}
+5
View File
@@ -0,0 +1,5 @@
replicaCount: 1
certManager:
enable: true
hotReload: true
-7
View File
@@ -1,7 +0,0 @@
config:
outputs:
- influxdb:
urls:
- "http://influxdb.datalab:8086"
database: "telegraf"