[aaisp-to-mqtt] Cleanup

This commit is contained in:
2020-05-04 12:44:05 +01:00
parent 84b43fede8
commit fa6e0d1134
4 changed files with 15 additions and 20 deletions

View File

@@ -1,4 +1,4 @@
{{- if not .Values.cronjob.existingSecretName }}
{{- if not (.Values.existingSecretName) }}
---
apiVersion: v1
kind: Secret
@@ -11,10 +11,10 @@ metadata:
app.kubernetes.io/managed-by: {{ include "aaisp-to-mqtt.name" . }}
type: Opaque
data:
aaisp.username: {{ .Values.aaisp.username }}
aaisp.password: {{ .Values.aaisp.password }}
aaisp.username: {{ .Values.aaisp.username | base64 }}
aaisp.password: {{ .Values.aaisp.password | base64 }}
{{- if .Values.mqtt.authenticated }}
mqtt.username: {{ .Values.mqtt.username }}
mqtt.password: {{ .Values.mqtt.password }}
mqtt.username: {{ .Values.mqtt.username | base64 }}
mqtt.password: {{ .Values.mqtt.password | base64 }}
{{- end }}
{{- end }}