[aaisp-to-mqtt] Fix Base64 Function

This commit is contained in:
2020-05-04 12:49:40 +01:00
parent fa6e0d1134
commit 9984fc2666
2 changed files with 5 additions and 5 deletions

View File

@@ -2,4 +2,4 @@ apiVersion: v1
appVersion: "0.2"
description: Pulls data from the AAISP CHAOSv2 API into MQTT
name: aaisp-to-mqtt
version: 0.2.0
version: 0.2.1

View File

@@ -11,10 +11,10 @@ metadata:
app.kubernetes.io/managed-by: {{ include "aaisp-to-mqtt.name" . }}
type: Opaque
data:
aaisp.username: {{ .Values.aaisp.username | base64 }}
aaisp.password: {{ .Values.aaisp.password | base64 }}
aaisp.username: {{ .Values.aaisp.username | b64enc }}
aaisp.password: {{ .Values.aaisp.password | b64enc }}
{{- if .Values.mqtt.authenticated }}
mqtt.username: {{ .Values.mqtt.username | base64 }}
mqtt.password: {{ .Values.mqtt.password | base64 }}
mqtt.username: {{ .Values.mqtt.username | b64enc }}
mqtt.password: {{ .Values.mqtt.password | b64enc }}
{{- end }}
{{- end }}