Compare commits

..

2 Commits

Author SHA1 Message Date
84b43fede8 [aaisp-to-mqtt] Fix authenticated MQTT 2020-05-04 12:26:03 +01:00
2f75be1606 [aaisp-to-mqtt] Fix secrets 2020-05-04 12:20:50 +01:00
3 changed files with 3 additions and 3 deletions

View File

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

View File

@@ -53,7 +53,7 @@ spec:
value: {{ .Values.mqtt.broker }} value: {{ .Values.mqtt.broker }}
- name: MQTT_PORT - name: MQTT_PORT
value: {{- default 1883 .Values.mqtt.port }} value: {{- default 1883 .Values.mqtt.port }}
{{- .Values.mqtt.authenticated }} {{- if .Values.mqtt.authenticated }}
- name: MQTT_USERNAME - name: MQTT_USERNAME
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:

View File

@@ -1,4 +1,4 @@
{{- if Not(.Values.cronjob.existingSecretName) }} {{- if not .Values.cronjob.existingSecretName }}
--- ---
apiVersion: v1 apiVersion: v1
kind: Secret kind: Secret