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

Deployment instructions don't seem to work #761

Closed
smolinari opened this issue Jan 15, 2025 · 6 comments
Closed

Deployment instructions don't seem to work #761

smolinari opened this issue Jan 15, 2025 · 6 comments

Comments

@smolinari
Copy link

Hi,

I have Keycloak running in k8s via the Bitnami Keycloak Helm chart and I followed the instructions given in the deployment docs to get my custom theme installed into my Keycloak installation. However, it seems that the mounting of the volume doesn't work on the /providers directory. It's like something else is mounting over it at startup. I worked a whole day on this trying different things, but never got the volume mounted properly (and I don't know exactly why).

Then I started looking for a way to "side-step" the volume mounting problem and found this issue. I was able to mount the volume under /themes and with the initdbScripts, I copied the keycloak-theme.jar file to the /providers directory and finally got my custom theme uploaded and it is working.

At any rate, looking further in that issue (which I should have done before using the initdbScripts solution), it leads to this PR at the bottom, which suggests using a sub-path to load the jar file. Although, I also tried sub-paths, I'm not certain I did it in the same way. So, I'm uncertain that is actually a working solution. Seems it is, I'm just not certain.

Long story short, if the docs were written before the Helm chart version 24.0.5, I'd bet the docs also need this tweak. My system is running and unfortunately I don't have the time to test that sub-path solution. But, if someone can confirm it does work, I'll be happy to submit a PR to update the Keycloakify docs.

Scott

@garronej
Copy link
Collaborator

garronej commented Jan 15, 2025

Ok, I think we have the latest binami chart in prod.

I'll have a look thank you for reporting

@garronej
Copy link
Collaborator

We're still version 22.2.4 of the bitnami chart. (Keycloak 25.0.5)
We're going to upgrate to the latest version this week end, I'll update the instruction then.

@smolinari
Copy link
Author

Thanks Joseph. Appreciate your support and the work you are doing on Keycloakify!

Scott

@garronej
Copy link
Collaborator

Thank you :)

@garronej
Copy link
Collaborator

Hey @smolinari,

I have updated the Helm instructions for the latest version of the Binami Keycloak Helm Chart:

https://docs.keycloakify.dev/deploying-your-theme#helm

Best,

@smolinari
Copy link
Author

Thanks Joseph!

Scott

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

No branches or pull requests

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy