Skip to content

Commit

Permalink
Merge pull request #74 from aeciopires/issue-55
Browse files Browse the repository at this point in the history
Improvement in helm chart of Zabbix [1]
  • Loading branch information
aeciopires authored Feb 29, 2024
2 parents 95179c5 + 4a0699d commit b1a5491
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 4 deletions.
4 changes: 2 additions & 2 deletions charts/zabbix/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
apiVersion: v2 # Don't change this
name: zabbix
version: 4.1.1 # helm chart version
version: 4.2.0 # helm chart version
# LTS Zabbix version by default due to stability. See: https://www.zabbix.com/life_cycle_and_release_policy
appVersion: 6.0.26 # zabbix version
appVersion: 6.0.27 # zabbix version
description: Zabbix is a mature and effortless enterprise-class open source monitoring solution for network monitoring and application monitoring of millions of metrics.
keywords:
- zabbix
Expand Down
2 changes: 1 addition & 1 deletion charts/zabbix/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Helm chart for Zabbix.

[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) ![Version: 4.1.1](https://img.shields.io/badge/Version-4.1.1-informational?style=flat-square)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) ![Version: 4.2.0](https://img.shields.io/badge/Version-4.2.0-informational?style=flat-square)

Zabbix is a mature and effortless enterprise-class open source monitoring solution for network monitoring and application monitoring of millions of metrics.

Expand Down
2 changes: 1 addition & 1 deletion charts/zabbix/docs/example/kind/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Custom values for zabbix.

zabbixImageTag: 6.4.11-alpine
zabbixImageTag: 6.4.12-alpine

postgresAccess:
useUnifiedSecret: true
Expand Down
10 changes: 10 additions & 0 deletions charts/zabbix/templates/deployment-zabbix-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ metadata:
{{- if .Values.zabbixServer.deploymentLabels }}
{{- toYaml .Values.zabbixServer.deploymentLabels | nindent 4 }}
{{- end }}
{{- if and .Values.zabbixAgent.enabled .Values.zabbixAgent.runAsSidecar }}
{{- if .Values.zabbixAgent.deploymentLabels }}
{{- toYaml .Values.zabbixAgent.deploymentLabels | nindent 4 }}
{{- end }}
{{- end }}
annotations:
{{- range $key,$value := .Values.zabbixServer.deploymentAnnotations }}
{{ $key }}: {{ $value | quote }}
Expand All @@ -37,6 +42,11 @@ spec:
{{- if .Values.zabbixServer.containerLabels }}
{{- toYaml .Values.zabbixServer.containerLabels | nindent 8 }}
{{- end }}
{{- if and .Values.zabbixAgent.enabled .Values.zabbixAgent.runAsSidecar }}
{{- if .Values.zabbixAgent.containerLabels }}
{{- toYaml .Values.zabbixAgent.containerLabels | nindent 8 }}
{{- end }}
{{- end }}
spec:
serviceAccountName: {{ template "zabbix.serviceAccountName" . }}
{{- with .Values.zabbixServer.extraPodSpecs }}
Expand Down
10 changes: 10 additions & 0 deletions charts/zabbix/templates/statefulset-zabbix-proxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ metadata:
{{- if .Values.zabbixProxy.statefulSetLabels }}
{{- toYaml .Values.zabbixProxy.statefulSetLabels | nindent 4 }}
{{- end }}
{{- if and .Values.zabbixAgent.enabled .Values.zabbixAgent.runAsSidecar }}
{{- if .Values.zabbixAgent.deploymentLabels }}
{{- toYaml .Values.zabbixAgent.deploymentLabels | nindent 4 }}
{{- end }}
{{- end }}
annotations:
{{- range $key,$value := .Values.zabbixProxy.statefulSetAnnotations }}
{{ $key }}: {{ $value | quote }}
Expand All @@ -38,6 +43,11 @@ spec:
{{- if .Values.zabbixProxy.containerLabels }}
{{- toYaml .Values.zabbixProxy.containerLabels | nindent 8 }}
{{- end }}
{{- if and .Values.zabbixAgent.enabled .Values.zabbixAgent.runAsSidecar }}
{{- if .Values.zabbixAgent.containerLabels }}
{{- toYaml .Values.zabbixAgent.containerLabels | nindent 8 }}
{{- end }}
{{- end }}
spec:
serviceAccountName: {{ template "zabbix.serviceAccountName" . }}
{{- with .Values.zabbixProxy.extraPodSpecs }}
Expand Down

0 comments on commit b1a5491

Please sign in to comment.