Closed maxenced closed 2 years ago
Hi @maxenced!
I searched in repository and we implemented this.
You can use now.
https://github.com/cetic/helm-zabbix/search?q=extraContainers
Well ... i checked the code before asking here, can't understand why I did not see that :/ Thank you !
~Well, in fact, we also need the extrainitcontainers as we need to resolve consul domain (which is the bdd host) for the initcontainer~ We also need to resolve consul domains inside init container. However, init containers do start one at a time, so not sure how i can handle this. Maybe restricting ourself to only 1 replica is the way to go
Ok @maxenced! I will do it using the same implementation (list of config) of the extra Containers. That help you?
Sorry, i modified while you were answering, see my updated comment ;)
I had seen your change, but I was wondering if you still need the extraInitContainer or if you can solve it the way the helm chart is implemented.
extraInitContainer won't solve it as i need the extra container to be started at same time than your init container, but init containers are started one at a time. For now, we will just avoid using more than one replica so that there is no init container at all. I still have another issue with dns config, but will open a new issue for it ;)
Hi,
first, thanks for all the work you did with this helm chart ! For some reason (we use consul as resolver) we need a custom extra container to be used within our zabbix-server/web pods.
Would you be able to add an extra parameter like
extra_containers
so that we can define any extra needed containers using sidecar pattern ? Does not look like a big change and would help a lot extending your chart.Maxence