schemaRegistryAuth username and password not supporting env vars #38
Labels
status/triage/completed
Automatic triage completed
status/triage/manual
Manual triage in progress
type/bug
Something isn't working
Issue submitter TODO list
main
-labeled docker image and the issue still persists thereDescribe the bug (actual behavior)
Would like the UI to connect to schema registry where BasicAuth is enabled.
Here is the configuration used :
All reference to environment variables works well (ie : ${KAFKAUI_USERNAME} ${KAFKAUI_PASSWORD} ${TRUSTSTORE_PASSWORD} ${KEYSTORE_PASSWORD}) except those two : ${SCHEMA_USER_USERNAME} ${SCHEMA_USER_PASSWORD}
When putting clear text values like this :
It works well.
When entering the pod in which kafka-ui is deployed env variables are correct and match with the ones set in clear text.
This result in a 401 error when trying to check schema registry from the ui :
Seems that the ui is using ${SCHEMA_USER_USERNAME} ${SCHEMA_USER_PASSWORD} as username and password an not the values which they reference as env var.
Could there be an issue regarding yaml expansion regarding these 2 vars ?
Expected behavior
Should not face 401 errors when using env vars regarding username and password to connect to schema registry
Your installation details
Steps to reproduce
Screenshots
No response
Logs
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: