This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 57
/
values.yaml
457 lines (442 loc) · 19.3 KB
/
values.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
# Default values for zabbix.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
# -- Zabbix components (server, agent, web frontend, ...) image tag to use.
#This helm chart is compatible with non-LTS version of Zabbix, that include important changes and functionalities.
#But by default this helm chart will install the latest LTS version (example: 6.0.x).
#See more info in [Zabbix Life Cycle & Release Policy](https://www.zabbix.com/life_cycle_and_release_policy) page
#When you want use a non-LTS version (example: 6.2.x), you have to set this yourself. You can change version
#here or overwrite in each component (example: zabbixserver.image.tag, etc).
zabbix_image_tag: ubuntu-6.0.8
# **Zabbix DB access / credentials** configurations
# with this dict, you can set unified DB access credentials, IP and so on for both Zabbix server and Zabbix web frontend
# you can either chose from having all this in one named (preexisting) secret or setting the values one by one with vars
# whatever set here overrides the credential settings within the "zabbixserver" and "zabbixweb" sections.
db_access:
# under this section you can configure DB access and credentials centrally for the entire helm chart.
# All relevant components installed by this chart will respect it: zabbixserver, zabbixweb and postgresql (if enabled)
#
# USING ONE SECRET CONTAINING ALL DB RELEVANT SETTINGS
# DB access details all in one existing secret (matches the structure of secrets the CrunchyData pgo operator generates)
# if this option is chosen the below listed "db_server_*" and "postgres_*" settings are being ignored
# the secret must contain the following keys:
# * host
# * port
# * dbname
# * user
# * password
# -- Whether to use the unified db access secret
use_unified_secret: true
# -- Name of one secret for unified configuration of DB access
unified_secret_name: zabbixdb-pguser-zabbix
# -- automatically create secret if not already present (works only in combination with postgresql.enabled=true)
unified_secret_autocreate: true
#
# If you do NOT want to use one unified secret for all settings, you can still set the credentials manually here.
# These settings will be used for all components of this chart where it makes sense (zabbix server, postgresql,
# web frontend, ...)
# -- Address of database host - ignored if postgresql.enabled=true
db_server_host: "zabbix-postgresql"
# -- Port of database host - ignored if postgresql.enabled=true
db_server_port: "5432"
# -- User of database
postgres_user: "zabbix"
# -- Name of a secret used for Postgres Password, if set, it overrules the POSTGRES_PASSWORD value
#postgres_password_secret: mysecret
# -- Key of the secret used for Postgres Password, requires POSTGRES_PASSWORD_SECRET, defaults to password
#postgres_password_secret_key: "password"
# -- Password of database - ignored if postgres_password_secret is set
postgres_password: "zabbix"
# -- Name of database
postgres_db: "zabbix"
# **Zabbix Server** configurations
zabbixserver:
# -- Enables use of **Zabbix Server**
enabled: true
# -- Number of replicas of ``zabbixserver`` module
replicaCount: 1
# -- set permissive podAntiAffinity to spread replicas over cluster nodes if replicaCount>1
pod_anti_affinity: true
# -- optional set true open a port direct on node where zabbix server runs
hostPort: false
# -- optional set hostIP different from 0.0.0.0 to open port only on this IP
hostIP: 0.0.0.0
# -- Requests and limits of pod resources. See: [https://kubernetes.io/docs/concepts/configuration/manage-resources-containers](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers)
resources: {}
image:
# -- Zabbix server Docker image name
repository: zabbix/zabbix-server-pgsql
# -- Zabbix server Docker image tag, if you want to override zabbix_image_tag
tag: null
# -- Pull policy of Docker image
pullPolicy: IfNotPresent
# -- List of dockerconfig secrets names to use when pulling images
pullSecrets: []
# -- automatically clean orphaned ha nodes from ha_nodes db table
ha_nodes_autoclean:
enabled: true
image:
repository: postgres
tag: "14"
pullPolicy: IfNotPresent
pullSecrets: []
schedule: "0 1 * * *"
delete_older_than_seconds: 3600
service:
# -- Type of service in Kubernetes cluster
type: ClusterIP
# -- Cluster IP for Zabbix server
clusterIP:
# -- Port of service in Kubernetes cluster
port: 10051
# -- NodePort of service on each node
nodePort: 31051
# -- Annotations for the zabbix-server service
annotations: {}
# metallb.universe.tf/address-pool: production-public-ips
# -- Extra environment variables. A list of additional environment variables. See example: https://github.com/cetic/helm-zabbix/blob/master/docs/example/kind/values.yaml
extraEnv: []
#- name: ENABLE_TIMESCALED
# value: "true"
# -- additional volumeMounts to the zabbix server container
extraVolumeMounts: []
# -- additional containers to start within the zabbix server pod
extraContainers: []
# -- additional init containers to start within the zabbix server pod
extraInitContainers: []
# -- additional volumes to make available to the zabbix server pod
extraVolumes: []
# -- additional specifications to the zabbix server pod
extraPodSpecs: {}
# **PostgreSQL** configurations
postgresql:
# -- Create a database using Postgresql
enabled: true
image:
# -- Postgresql Docker image name: chose one of "postgres" or "timescale/timescaledb"
repository: postgres
# -- Tag of Docker image of Postgresql server, chose "14" for postgres or "latest-pg14" for timescaledb
tag: 14
# -- Pull policy of Docker image
pullPolicy: IfNotPresent
# -- List of dockerconfig secrets names to use when pulling images
pullSecrets: []
persistence:
# -- whether to enable persistent storage for the postgres container or not
enabled: false
# -- existing persistent volume claim name to be used to store posgres data
existing_claim_name: false
# -- size of the PVC to be automatically generated
storage_size: 5Gi
# -- storage PVC storageclass to use
#storage_class: my-storage-class
service:
# -- Type of service in Kubernetes cluster
type: ClusterIP
# -- Cluster IP for Zabbix server
clusterIP:
# -- Port of service in Kubernetes cluster
port: 5432
# -- Annotations for the zabbix-server service
annotations: {}
# metallb.universe.tf/address-pool: production-public-ips
# -- Extra Postgresql runtime parameters ("-c" options)
extraRuntimeParameters:
max_connections: 50
# -- Extra environment variables. A list of additional environment variables.
extraEnv: []
# -- additional volumeMounts to the postgresql container
extraVolumeMounts: []
# -- additional containers to start within the postgresql pod
extraContainers: []
# -- additional init containers to start within the postgresql pod
extraInitContainers: []
# -- additional volumes to make available to the postgresql pod
extraVolumes: []
# -- additional specifications to the postgresql pod
extraPodSpecs: {}
# **Zabbix Proxy** configurations
zabbixproxy:
# -- Enables use of **Zabbix Proxy**
enabled: false
# -- Number of replicas of ``zabbixproxy`` module
replicaCount: 1
# -- Requests and limits of pod resources. See: [https://kubernetes.io/docs/concepts/configuration/manage-resources-containers](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers)
resources: {}
image:
# -- Zabbix proxy Docker image name
repository: zabbix/zabbix-proxy-sqlite3
# -- Zabbix proxy Docker image tag, if you want to override zabbix_image_tag
tag: null
# -- Pull policy of Docker image
pullPolicy: IfNotPresent
# -- List of dockerconfig secrets names to use when pulling images
pullSecrets: []
# -- The variable allows to switch Zabbix proxy mode. Bu default, value is 0 - active proxy. Allowed values are 0 and 1.
ZBX_PROXYMODE: 0
# -- Zabbix proxy hostname
# Case sensitive hostname
ZBX_HOSTNAME: zabbix-proxy # This variable is unique, case sensitive hostname.
# -- Zabbix server host
ZBX_SERVER_HOST: zabbix-zabbix-server
# -- Zabbix server port
ZBX_SERVER_PORT: 10051
# ZBX_LOADMODULE: dummy1.so,dummy2.so # The variable is list of comma separated loadable Zabbix modules. It works with volume /var/lib/zabbix/modules.
# The variable is used to specify debug level, from 0 to 5
# ZBX_DEBUGLEVEL: 4
# The variable is used to specify timeout for processing checks. By default, value is 4.
#ZBX_TIMEOUT: 4
# -- The variable enable communication with Zabbix Java Gateway to collect Java related checks. By default, value is false.
ZBX_JAVAGATEWAY_ENABLE: false
# -- Cache size
ZBX_VMWARECACHESIZE: 128M
service:
# -- Type of service for Zabbix proxy
type: ClusterIP
# -- Cluster IP for Zabbix proxy
clusterIP:
# -- Port to expose service
port: 10051
# -- Annotations for the zabbix-proxy service
annotations: {}
# metallb.universe.tf/address-pool: production-public-ips
# -- Extra environment variables. A list of additional environment variables. See example: https://github.com/cetic/helm-zabbix/blob/master/docs/example/kind/values.yaml
extraEnv: []
# -- additional volumeMounts to the zabbix proxy container
extraVolumeMounts: []
# -- additional containers to start within the zabbix proxy pod
extraContainers: []
# -- additional init containers to start within the zabbix proxy pod
extraInitContainers: []
# -- additional volumes to make available to the zabbix proxy pod
extraVolumes: []
# -- additional specifications to the zabbix proxy pod
extraPodSpecs: {}
# -- extra volumeClaimTemplate for zabbixproxy statefulset
extraVolumeClaimTemplate: []
# **Zabbix Agent** configurations
zabbixagent:
# -- Enables use of **Zabbix Agent**
enabled: true
# -- Requests and limits of pod resources. See: [https://kubernetes.io/docs/concepts/configuration/manage-resources-containers](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers)
resources: {}
image:
# -- Zabbix agent Docker image name. Can use zabbix/zabbix-agent or zabbix/zabbix-agent2
repository: zabbix/zabbix-agent2
# -- Zabbix agent Docker image tag, if you want to override zabbix_image_tag
tag: null
# -- Pull policy of Docker image
pullPolicy: IfNotPresent
# -- List of dockerconfig secrets names to use when pulling images
pullSecrets: []
# -- Zabbix server host
ZBX_SERVER_HOST: 127.0.0.1
# -- Zabbix server port
ZBX_SERVER_PORT: 10051
# -- This variable is boolean (true or false) and enables or disables feature of passive checks. By default, value is true
ZBX_PASSIVE_ALLOW: true
# -- The variable is comma separated list of allowed Zabbix server or proxy hosts for connections to Zabbix agent container.
ZBX_PASSIVESERVERS: 127.0.0.1
# -- This variable is boolean (true or false) and enables or disables feature of active checks
ZBX_ACTIVE_ALLOW: true
# The variable is comma separated list of allowed Zabbix server or proxy hosts for connections to Zabbix agent container. You may specify port.
# ZBX_ACTIVESERVERS:
# The variable is list of comma separated loadable Zabbix modules. It works with volume /var/lib/zabbix/modules.
# ZBX_LOADMODULE: dummy1.so,dummy2.so
# The variable is used to specify debug level, from 0 to 5
#ZBX_DEBUGLEVEL: 3
# The variable is used to specify timeout for processing checks. By default, value is 4.
#ZBX_TIMEOUT: 4
# -- The variable enable communication with Zabbix Java Gateway to collect Java related checks. By default, value is false.
ZBX_JAVAGATEWAY_ENABLE: false
# -- Cache size
ZBX_VMWARECACHESIZE: 128M
service:
# -- Type of service for Zabbix agent
type: ClusterIP
# -- Cluster IP for Zabbix agent
clusterIP:
# -- Port to expose service
port: 10050
# -- Annotations for the zabbix-agent service
annotations: {}
# metallb.universe.tf/address-pool: production-public-ips
# -- Extra environment variables. A list of additional environment variables. See example: https://github.com/cetic/helm-zabbix/blob/master/docs/example/kind/values.yaml
extraEnv: []
# -- additional volumeMounts to the zabbix agent container
extraVolumeMounts: []
# **Zabbix Web** configurations
zabbixweb:
# -- Enables use of **Zabbix Web**
enabled: true
# -- Number of replicas of ``zabbixweb`` module
replicaCount: 1
# -- set permissive podAntiAffinity to spread replicas over cluster nodes if replicaCount>1
pod_anti_affinity: true
# -- Requests and limits of pod resources. See: [https://kubernetes.io/docs/concepts/configuration/manage-resources-containers](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers)
resources: {}
image:
# -- Zabbix web Docker image name
repository: zabbix/zabbix-web-nginx-pgsql
# -- Zabbix web Docker image tag, if you want to override zabbix_image_tag
tag: null
# -- Pull policy of Docker image
pullPolicy: IfNotPresent
# -- List of dockerconfig secrets names to use when pulling images
pullSecrets: []
# -- Certificate containing certificates for SAML configuration
#saml_certs_secret_name: zabbix-web-samlcerts
service:
# -- Type of service for Zabbix web
type: ClusterIP
# -- Cluster IP for Zabbix web
clusterIP:
# -- Port to expose service
port: 80
# -- NodePort port to allocate (only if service.type = NodePort)
#nodePort: 31080
# -- Annotations for the zabbix-web service
annotations: {}
# metallb.universe.tf/address-pool: production-public-ips
# -- Extra environment variables. A list of additional environment variables. See example: https://github.com/cetic/helm-zabbix/blob/master/docs/example/kind/values.yaml
extraEnv: []
#- name: ZBX_SSO_SETTINGS
# value: '{"baseurl": "https://zabbix.example.com"}'
#- name: ZBX_SERVER_NAME
# value: Demo Zabbix
# -- additional volumeMounts to the zabbix web container
extraVolumeMounts: []
# -- additional containers to start within the zabbix web pod
extraContainers: []
# -- additional init containers to start within the zabbix web pod
extraInitContainers: []
# -- additional volumes to make available to the zabbix web pod
extraVolumes: []
# -- additional specifications to the zabbix web pod
extraPodSpecs: {}
livenessProbe:
# -- Path of health check of application
path: /
# -- Number of seconds after the container has started before liveness
initialDelaySeconds: 30
# -- Specifies that the kubelet should perform a liveness probe every N seconds
periodSeconds: 10
# -- Number of seconds after which the probe times out
timeoutSeconds: 5
# -- When a probe fails, Kubernetes will try failureThreshold times before giving up. Giving up in case of liveness probe means restarting the container. In case of readiness probe the Pod will be marked Unready
failureThreshold: 6
# -- Minimum consecutive successes for the probe to be considered successful after having failed
successThreshold: 1
readinessProbe:
# -- Path of health check of application
path: /
# -- Number of seconds after the container has started before readiness
initialDelaySeconds: 5
# -- Specifies that the kubelet should perform a readiness probe every N seconds
periodSeconds: 10
# -- Number of seconds after which the probe times out
timeoutSeconds: 5
# -- When a probe fails, Kubernetes will try failureThreshold times before giving up. Giving up in case of liveness probe means restarting the container. In case of readiness probe the Pod will be marked Unready
failureThreshold: 6
# -- Minimum consecutive successes for the probe to be considered successful after having failed
successThreshold: 1
# **Zabbix Web Service** configurations
zabbixwebservice:
# -- Enables use of **Zabbix Web Service**
enabled: true
# -- Number of replicas of ``zabbixwebservice`` module
replicaCount: 1
# -- set permissive podAntiAffinity to spread replicas over cluster nodes if replicaCount>1
pod_anti_affinity: true
# -- Requests and limits of pod resources. See: [https://kubernetes.io/docs/concepts/configuration/manage-resources-containers](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers)
resources: {}
image:
# -- Zabbix webservice Docker image name
repository: zabbix/zabbix-web-service
# -- Zabbix webservice Docker image tag, if you want to override zabbix_image_tag
tag: null
# -- Pull policy of Docker image
pullPolicy: IfNotPresent
# -- List of dockerconfig secrets names to use when pulling images
pullSecrets: []
# -- set the IgnoreURLCertErrors configuration setting of Zabbix web service
#ignore_url_cert_errors=1
service:
# -- Type of service for Zabbix web
type: ClusterIP
# -- Cluster IP for Zabbix web
clusterIP:
# -- Port to expose service
port: 10053
# -- Annotations for the zabbix-web service
annotations: {}
# metallb.universe.tf/address-pool: production-public-ips
# -- Extra environment variables. A list of additional environment variables. See example: https://github.com/cetic/helm-zabbix/blob/master/docs/example/kind/values.yaml
extraEnv: []
# -- additional volumeMounts to the zabbix webservice container
extraVolumeMounts: []
# -- additional containers to start within the zabbix webservice pod
extraContainers: []
# -- additional init containers to start within the zabbix webservice pod
extraInitContainers: []
# -- additional volumes to make available to the zabbix webservice pod
extraVolumes: []
# -- additional specifications to the zabbix webservice pod
extraPodSpecs: {}
# Ingress configurations
ingress:
# -- Enables Ingress
enabled: false
# -- Ingress annotations
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
# -- Ingress hosts
hosts:
- host: chart-example.local
paths:
- path: /
pathType: ImplementationSpecific
# -- Ingress TLS configuration
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
# For Kubernetes >= 1.18 you should specify the ingress-controller via the field ingressClassName
# See https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/#specifying-the-class-of-an-ingress
# ingressClassName: nginx
# -- pathType is only for k8s >= 1.1=
pathType: Prefix
# Ingress CRD object for the Traefik Ingresscontroller
ingressroute:
# -- Enables Traefik IngressRoute
enabled: false
# -- IngressRoute annotations
annotations: {}
# -- Ingressroute entrypoints
entryPoints:
- websecure
# -- Ingressroute host name
hostName: chart-example.local
# -- IngressRoute TLS configuration
#tls:
# certResolver: myresolver
route:
# -- Enables Route object for Openshift
enabled: false
# -- Host Name for the route. Can be left empty
hostName: chart-example.local
# -- Openshift Route wildcardPolicy
#wildcardPolicy:
# -- Openshift Route TLS settings
tls:
termination: edge
#insecureEdgeTerminationPolicy: Redirect
# -- Openshift Route extra annotations
annotations: {}
# -- nodeSelector configurations
nodeSelector: {}
# -- Tolerations configurations
tolerations: []
# -- Affinity configurations
affinity: {}