Closed ruzickap closed 2 years ago
Hi @ruzickap ,
I can see the following in the logs:
Importing file '/config/myrealm.yaml'
It seems the file is being properly loaded, so the actual error seems to be this one:
com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "oauth2DeviceCodeLifespan"
Could you clarify why that's related to keycloakConfigCli
please?
The error you mentioned above is in the keycloak-keycloak-config-cli
pod. This pod is only started if you use keycloakConfigCli
parameter in helm chart (if I understand it well).
Thanks for reporting this, I've created an internal task for further investigating this issue. If you happen to find the issue in the meantime, feel free to make a contribution to either the container image or chart, we'd be glad to help with the release process.
We just tried to upgrade the chart version to v4.0.0, and the same issue happens with the same configuration file as v2.4.6.
The workaround is to use another image, and it works as expected.
keycloakConfigCli:
enabled: true
existingConfigmap: *keycloakInitRealmConfigmap
image:
repository: adorsys/keycloak-config-cli
tag: v4.0.1-14.0.0
Thank you @benjamin658. The workaround works fine for me:
keycloakConfigCli:
enabled: true
image:
repository: adorsys/keycloak-config-cli
tag: v4.0.1-14.0.0
configuration:
myrealm.yaml: |
realm: myrealm
enabled: true
displayName: My Realm
I hope there will be final fix sooner or later...
@pablogalegoc @yilmi @Mauraza Sorry to @
so many of you but I'm running into the same issue around the image being completely broken from bitnami for keycloak-config-cli
. Happy to open an issue against the docker image repo itself if needs be but this issue seems to have been left for sometime without much love?
Hi guys, We had an issue in our issues tracking system and missed this one, missed the notifications fo this issue. I just checked the task that @marcosbc created, but it is still in our backlog. Sorry for the inconveniences
I believe this can be closed. Latest versions were fixed...
Which chart: bitnami/keycloak
Describe the bug
keycloakConfigCli
parameter stopped working when using helm chart version 3.x.xThis is working fine for helm chart version 2.x.x ...
To Reproduce
I used the current keycloak helm chart with the
keycloakConfigCli
:The
keycloak-keycloak-config-cli
pods are failing:Here is the log:
Version of Helm and Kubernetes:
helm version
:kubectl version
: