E213 With a read only filesystem, which temporary folders must be made writeable? · keycloak keycloak · Discussion #36142 · GitHub
[go: up one dir, main page]

Skip to content
Discussion options

You must be logged in to vote

I would go with the following emptyDir s:

  • /tmp - under root path
  • /opt/writable-keycloak - which will contain a copy of the entire original KC folder

Instead of creating specific writable folders (which can be problematic in the future in case of file structure changes), I went on raising an init-container that copies the content from /opt/keycloak to the new emptyDir I specified above /opt/writable-keycloak.
And then you gonna need your entrypoint to be something like: ./opt/writable-keycloak/bin/kc.sh start

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by erikschul
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
0