Open aloifolia opened 7 months ago
You can also try is starting kubedock with --pre-archive
, this will collect all files that are copied before a container is started to a configmap and mount that instead. If that doesn't help, it probably requires some changes at the postgress module implementation (moving the config file to another location).
When I use the Postgres module of Testcontainers, I can use an initialization script:
Usually, this works flawlessly. With kubedock, however, this fails when the pod has a readOnlyRootFilesystem. I guess that a volume could help in this situation but don't know which path the volume should be mounted to.