Skip to content

Commit

Permalink
set NODEADDRESS even with disabled HA mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Anton committed Nov 26, 2024
1 parent 01fb43c commit d580f2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/zabbix/templates/deployment-zabbix-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,11 @@ spec:
{{- if .Values.zabbixServer.zabbixServerHA.enabled }}
- name: ZBX_AUTOHANODENAME
value: "hostname"
{{- end }}
- name: ZBX_NODEADDRESS
valueFrom:
fieldRef:
fieldPath: status.podIP
{{- end }}
{{- if .Values.zabbixWebService.enabled }}
- name: ZBX_WEBSERVICEURL
value: "http://{{ template "zabbix.fullname" . }}-zabbix-webservice:{{ .Values.zabbixWebService.service.port }}/report"
Expand Down

0 comments on commit d580f2c

Please sign in to comment.