The file gets mounted fine as it exists on the hostPath. The problem is, that those files do not exist at creation of the pod, but Icinga will create the same file and will overwrite the content from the given one as that's already mounted. So my own roles.ini file doesn't exist anymore.
I´ve tried to mount it readOnly but then the pod doesn't start.
Not sure if that's really an issue or a limitation of the chart. In the end I would love to achieve a fully pre-configured Icinga instance.
Thanks for either pointing me into the right direction or improve the chart if possible.
Expected result
Mounted files should not be overwritten
Helm values to reproduce
See above. If needed I'll provide the full values.yaml
Helm chart name
Icinga2
Helm chart version
4.1.2
Container name
jordan/icinga2
Container tag
latest
Description
First...thanks for the great work you are doing :+1:
Probably I´m doing this wrong, but let's see....
Let´s say I have an existing
roles.ini
file for Icingaweb2 and I want that to be mounted during the creation of the helm chart.I edited the values.yaml to:
The file gets mounted fine as it exists on the hostPath. The problem is, that those files do not exist at creation of the pod, but Icinga will create the same file and will overwrite the content from the given one as that's already mounted. So my own
roles.ini
file doesn't exist anymore.I´ve tried to mount it
readOnly
but then the pod doesn't start.Not sure if that's really an issue or a limitation of the chart. In the end I would love to achieve a fully pre-configured Icinga instance.
Thanks for either pointing me into the right direction or improve the chart if possible.
Expected result
Mounted files should not be overwritten
Helm values to reproduce
Additional Information
No response
Repo link
No response