Skip to content
New issue

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

Allow helm chart threddsConfig override and runAs arbitrary uid #253

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bstrdsmkr
Copy link

Some kubernetes environments require running services as arbitrary UIDs. The Thredds image attempts to copy files to /opt/tomcat/content/thredds on startup which fails in these environments.

This PR mounts an emptyDir at /opt/tomcat/content/thredds to allow the startup procedure to write it's files. As a side effect, the catalog.xml and threddsConfig.xml baked into the image are overwritten with the empty directory. catalog.xml was already being mounted from a configMap so that hasn't changed, but now threddsConfig.xml is also mounted from a separate configMap.

Both configMaps default to the same existing documents, but can now be overridden at deploy time with something like --set-file data.thredds.config."catalog\.xml"=/path/to/local/catalog.xml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant