diff --git a/charts/aaisp-to-mqtt/Chart.yaml b/charts/aaisp-to-mqtt/Chart.yaml index 710b563..807b4a7 100644 --- a/charts/aaisp-to-mqtt/Chart.yaml +++ b/charts/aaisp-to-mqtt/Chart.yaml @@ -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.1.1 +version: 0.1.2 diff --git a/charts/aaisp-to-mqtt/templates/cronjob.yaml b/charts/aaisp-to-mqtt/templates/cronjob.yaml index 449aa7a..d783cb3 100644 --- a/charts/aaisp-to-mqtt/templates/cronjob.yaml +++ b/charts/aaisp-to-mqtt/templates/cronjob.yaml @@ -53,7 +53,7 @@ spec: value: {{ .Values.mqtt.broker }} - name: MQTT_PORT value: {{- default 1883 .Values.mqtt.port }} - {{- .Values.mqtt.authenticated }} + {{- if .Values.mqtt.authenticated }} - name: MQTT_USERNAME valueFrom: secretKeyRef: