Add aaisp-to-mqtt chart

This commit is contained in:
2020-05-04 12:05:25 +01:00
parent 0ab91c1e82
commit e90e2b8e07
6 changed files with 254 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
{{- if Not(.Values.cronjob.existingSecretName) }}
---
apiVersion: v1
kind: Secret
metadata:
name: aaisp-to-mqtt-secret
labels:
app.kubernetes.io/name: {{ include "aaisp-to-mqtt.name" . }}
helm.sh/chart: {{ include "aaisp-to-mqtt.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ include "aaisp-to-mqtt.name" . }}
type: Opaque
data:
aaisp.username: {{ .Values.aaisp.username }}
aaisp.password: {{ .Values.aaisp.password }}
{{- if .Values.mqtt.authenticated }}
mqtt.username: {{ .Values.mqtt.username }}
mqtt.password: {{ .Values.mqtt.password }}
{{- end }}
{{- end }}