From 7d5a6e6141991e8945cf8fdf4d6d311450331732 Mon Sep 17 00:00:00 2001 From: g0dsCookie Date: Mon, 26 Sep 2022 12:27:19 +0200 Subject: [PATCH] fixed template error --- charts/icinga2/Chart.yaml | 2 +- charts/icinga2/templates/icinga2-config.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/icinga2/Chart.yaml b/charts/icinga2/Chart.yaml index 107cfdc..cb8ed68 100644 --- a/charts/icinga2/Chart.yaml +++ b/charts/icinga2/Chart.yaml @@ -3,5 +3,5 @@ name: icinga2 icon: https://icinga.com/docs/icinga-2/latest/assets/images/favicon.png description: Icinga is a monitoring system which checks the availability of your network resources, notifies users of outages, and generates performance data for reporting. type: application -version: 0.1.4 +version: 0.1.5 appVersion: "2.13.5" diff --git a/charts/icinga2/templates/icinga2-config.yaml b/charts/icinga2/templates/icinga2-config.yaml index a871d41..5ddde5c 100644 --- a/charts/icinga2/templates/icinga2-config.yaml +++ b/charts/icinga2/templates/icinga2-config.yaml @@ -32,7 +32,7 @@ data: node: name: {{ .Values.nodeName }} {{- if .Values.parent }} - zone: {% if .Vales.nodeZone %}true{% else %}false{% endif %} + zone: {{ .Values.nodeZone }} parent: {{ .Values.parent }} {{- else }} zone: false