You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When enableDefaultInitContainers is enabled, in the final container we want to see
/opt/bitnami/keycloak/providers
/opt/bitnami/keycloak/data
What do you see instead?
When enableDefaultInitContainers is enabled In final container we see
/opt/bitnami/keycloak/providers/providers
/opt/bitnami/keycloak/data/data
Additional information
Once the final keycloak container gets running check dirs:
/opt/bitnami/keycloak/providers
/opt/bitnami/keycloak/data
In those directories you will notice that there are subdirectories like this:
/opt/bitnami/keycloak/providers/providers
/opt/bitnami/keycloak/data/data
This is caused by
info "Copying writable dirs to empty dir"# In order to not break the application functionality we need to make some# directories writable, so we need to copy it to an empty dir volume
cp -r --preserve=mode /opt/bitnami/keycloak/data /emptydir/app-data-dir
cp -r --preserve=mode /opt/bitnami/keycloak/providers /emptydir/app-providers-dir
Doing a copy like this doesn't copy the directory content but instead, it copies the complete data and providers directories to /emptydir/app-data-dir and /emptydir/app-providers-dir. As a result, we get the problem:
Thank you for bringing this issue to our attention. We appreciate your involvement! If you're interested in contributing a solution, we welcome you to create a pull request. The Bitnami team is excited to review your submission and offer feedback. You can find the contributing guidelines here.
Your contribution will greatly benefit the community. Feel free to reach out if you have any questions or need assistance.
Name and Version
bitnami/keycloak 24.1.0
What architecture are you using?
None
What steps will reproduce the bug?
Set
enableDefaultInitContainers
to trueWhat is the expected behavior?
When
enableDefaultInitContainers
is enabled, in the final container we want to see/opt/bitnami/keycloak/providers
/opt/bitnami/keycloak/data
What do you see instead?
When enableDefaultInitContainers is enabled In final container we see
/opt/bitnami/keycloak/providers/providers
/opt/bitnami/keycloak/data/data
Additional information
Once the final keycloak container gets running check dirs:
/opt/bitnami/keycloak/providers
/opt/bitnami/keycloak/data
In those directories you will notice that there are subdirectories like this:
/opt/bitnami/keycloak/providers/providers
/opt/bitnami/keycloak/data/data
This is caused by
Doing a copy like this doesn't copy the directory content but instead, it copies the complete
data
andproviders
directories to/emptydir/app-data-dir
and/emptydir/app-providers-dir
. As a result, we get the problem:/opt/bitnami/keycloak/providers/providers
/opt/bitnami/keycloak/data/data
In the final container the mount is like this:
This mounts the app-data-dir to
/opt/bitnami/keycloak/data
, but app-data-dir has alsodata/
subdirectory. The same is forproviders
The text was updated successfully, but these errors were encountered: