zabbix-community / helm-zabbix

Helm chart for Zabbix
https://artifacthub.io/packages/helm/zabbix-community/zabbix
Apache License 2.0
77 stars 45 forks source link

[zabbix-community/zabbix] Adding extra params job-init-db-schema.yaml #57

Closed david-moreau closed 4 months ago

david-moreau commented 6 months ago

Hi,

I opened an issue last year to add extras on cronjobs, I use a consul for my DB cluster and I need to manage DNS resolution in sidecare.

Is it possible to add extraContainers, extraVolumes, extraPodSpecs for "job-init-db-schema.yaml"?

I'm not sure I fully understand the purpose of "job-init-db-schema.yaml", It's a fix for Zabbix-server version before 2.6.2 ?

David

aeciopires commented 4 months ago

Hello @david-moreau!

I create the follow values specif to jobDBSchema:

zabbixServer:
  jobDBSchema:
    # -- additional init containers to start within the Zabbix Server Job DB Schema pod
    extraInitContainers: []
    # -- additional containers to start within the Zabbix Server Job DB Schema pod
    extraContainers: []
    # -- additional specifications to the Zabbix Server Job DB Schema pod
    extraPodSpecs: {}
    # -- additional volumeMounts to the Zabbix Server Job DB Schema pod
    extraVolumeMounts: []
    # -- additional volumes to make available to the  Zabbix Server Job DB Schema pod
    extraVolumes: []
    # -- Security Context configurations. Reference: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
    securityContext: {}