Can you change the config line so it matches the kibana standard. At the moment we have ‘readonlyrest_kbn.login_custom_logo’, but Kibana’s ones have a . in between each word. And when using the kibana docker will pass envirometn variables by converting _ to a .
So a docker enviroment of ELASTICSEARCH_PASSWORD becomes elasticsearch.password. So with this in mind READONLYREST_KBN_LOGIN_CUSTOM_LOGO will be come readonlyrest.kbn.login.custom.logo and, well it doesnt show the logo.
Hm I get it. Well maybe you could declare CUSTOM_LOGO: “xyz.png” and replace that value with a bash command in the Dockerfile?
Changing all the configuration key is a massively disruptive change for the product. We would need to change the plugin ID to eliminate the underscore in the “readonlyrest_kbn” prefix. And if we do, we can’t keep on reading legacy configuration files because the only configuration keys we can declare from the plugin are namespaced with the plugin ID.
I mean, instead of using the environment variables like you shown, maybe extend the official image instead and from inside your own Dockerfile, create a RUN line that tweaks the kibana.yml file using a bash command.