diff --git a/charts/zabbix/templates/deployment-zabbix-server.yaml b/charts/zabbix/templates/deployment-zabbix-server.yaml index 5085846..e1145f2 100644 --- a/charts/zabbix/templates/deployment-zabbix-server.yaml +++ b/charts/zabbix/templates/deployment-zabbix-server.yaml @@ -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"