We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When running in Kubernetes in non-root mode the container cannot create the folders specified in https://github.com/kartoza/docker-postgis/blob/develop/scripts/setup-conf.sh
create_dir ${EXTRA_CONF_DIR} create_dir ${CONF_LOCKFILE_DIR} create_dir ${SCRIPTS_LOCKFILE_DIR}
In order to run it currently you need to mound these folders as volumes. We need to define a way to create these folders by default
A possible solutions to this include
entrypoint.sh
Run the container in kubernetes using the env RUN_AS_ROOT=False
RUN_AS_ROOT=False
kartoza/postgis:15-3.3
No response
The text was updated successfully, but these errors were encountered:
cc @tharanathkartoza
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
What is the bug or the crash?
When running in Kubernetes in non-root mode the container cannot create the folders specified in https://github.com/kartoza/docker-postgis/blob/develop/scripts/setup-conf.sh
In order to run it currently you need to mound these folders as volumes. We need to define a way to create these folders by default
A possible solutions to this include
entrypoint.sh
move the logic to create a home directory in https://github.com/kartoza/docker-postgis/blob/develop/scripts/docker-entrypoint.sh#L39, This will also require some env values to be changed to have the location be specific to the home directorySteps to reproduce the issue
Run the container in kubernetes using the env
RUN_AS_ROOT=False
Versions
kartoza/postgis:15-3.3
Additional context
No response
The text was updated successfully, but these errors were encountered: