diff --git a/charts/icinga2/Chart.yaml b/charts/icinga2/Chart.yaml index be1414e..107cfdc 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.3 +version: 0.1.4 appVersion: "2.13.5" diff --git a/charts/icinga2/templates/icinga2-config.yaml b/charts/icinga2/templates/icinga2-config.yaml index 1d2ce5e..a871d41 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: true + zone: {% if .Vales.nodeZone %}true{% else %}false{% endif %} parent: {{ .Values.parent }} {{- else }} zone: false diff --git a/charts/icinga2/values.yaml b/charts/icinga2/values.yaml index 924f9b7..d25c71d 100644 --- a/charts/icinga2/values.yaml +++ b/charts/icinga2/values.yaml @@ -2,6 +2,7 @@ nameOverride: "" fullnameOverride: "" nodeName: +nodeZone: true parent: master: true endpoints: []