Skip to content

Commit

Permalink
added nodeZone option
Browse files Browse the repository at this point in the history
  • Loading branch information
g0dsCookie committed Sep 26, 2022
1 parent 8e4df27 commit c4715cd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/icinga2/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion charts/icinga2/templates/icinga2-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions charts/icinga2/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ nameOverride: ""
fullnameOverride: ""

nodeName:
nodeZone: true
parent:
master: true
endpoints: []
Expand Down

0 comments on commit c4715cd

Please sign in to comment.