diff --git a/charts/incubator/pialert/Chart.yaml b/charts/incubator/pialert/Chart.yaml index 76fced7b12a..828e89acfdf 100644 --- a/charts/incubator/pialert/Chart.yaml +++ b/charts/incubator/pialert/Chart.yaml @@ -21,7 +21,7 @@ sources: - https://github.com/truecharts/charts/tree/master/charts/incubator/pialert - https://github.com/jokob-sk/Pi.Alert type: application -version: 2.0.0 +version: 2.0.1 annotations: truecharts.org/catagories: | - networking diff --git a/charts/incubator/pialert/templates/_secret.tpl b/charts/incubator/pialert/templates/_secret.tpl index a92505cc2df..1cffc30c103 100644 --- a/charts/incubator/pialert/templates/_secret.tpl +++ b/charts/incubator/pialert/templates/_secret.tpl @@ -102,7 +102,7 @@ stringData: # MQTT REPORT_MQTT={{ ternary "True" "False" .Values.pialert.mqtt.enabled }} - {{- if .Values.pialert.email.enabled }} + {{- if .Values.pialert.mqtt.enabled }} MQTT_BROKER={{ .Values.pialert.mqtt.broker | squote }} MQTT_PORT={{ .Values.pialert.mqtt.port }} {{- with .Values.pialert.mqtt.user }}