bitnami / charts

Bitnami Helm Charts
https://bitnami.com
Other
8.89k stars 9.17k forks source link

bitnami/keycloak 9.0.* keycloak-config-cli fails to run, can't find configuration #10320

Closed aaroniscode closed 2 years ago

aaroniscode commented 2 years ago

Name and Version

bitnami/keycloak 9.0.1

What steps will reproduce the bug?

In major version 5.0.0 of keycloak-config-cli, all of the import properties were reordered. Documentation can be found in the CHANGELOG.

The ENV variable IMPORT_PATH needs to be changed to IMPORT_FILES_LOCATIONS.

And the value /config/ need to be changed to /config/*.

The Helm chart has hard coded the values here.

Are you using any custom parameters or values?

No response

What is the expected behavior?

Expected behavior is for the the keycloak-config-cli applicaiton to run.

What do you see instead?

Instead it crashes with the error:

***************************
APPLICATION FAILED TO START
***************************

Description:

Binding to target org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'import' to de.adorsys.keycloak.config.properties.ImportConfigProperties failed:

    Property: import.files.locations
    Value: null
    Reason: must not be null

Action:

Update your application's configuration

Additional information

No response

aaroniscode commented 2 years ago

Working on a PR...

carrodher commented 2 years ago

Thanks for creating this issue and the associated PR, we will review it and provide feedback