Closed kywan closed 3 years ago
You might need to restart keycloak for it to deploy the .ear
You might need to restart keycloak for it to deploy the .ear
yes i restart the docker of course, but still not Discord in my providers
I haven't tried this on docker but i have with the codecentric helm chart
First i created a config map from the file kubectl create configmap config --from-file keycloak-discord-ear-0.3.1.ear
Then used these options to mount the volume
extraVolumeMounts: |
- name: "config"
mountPath: "/opt/jboss/keycloak/standalone/deployments/keycloak-discord-ear-0.3.1.ear"
subPath: "keycloak-discord-ear-0.3.1.ear"
extraVolumes: |
- name: "config"
configMap:
name: "config"
For docker i would assume you would want to mount the ear and that option would look like -v ./keycloak-discord-ear-0.3.1.ear:/opt/jboss/keycloak/standalone/deployments/keycloak-discord-ear-0.3.1.ear
edit:
you should see something like Starting deployment of "keycloak-discord-ear-0.3.1.ear" (runtime-name: "keycloak-discord-ear-0.3.1.ear")
in the startup logs.
ok we find solution !
1st like say @havenotfear the folder for deployment is in /opt/jboss/keycloak/standalone/deployments/
. And we have to chmod 775 the .ear to be sure jboss user can read it :)
I may be stupid but i try to install the extension but when i reaload my keycloak i cant find the discord option in Identity Providers... what i am doing wrong ? :/ did i miss something ?