fix(azure-data-explorer): remove clientSecretFromEnv support#7554
fix(azure-data-explorer): remove clientSecretFromEnv support#7554rickbrouwer wants to merge 3 commits intokedacore:mainfrom
Conversation
…ing env var name Signed-off-by: Rick Brouwer <rickbrouwer@gmail.com>
|
Thank you for your contribution! 🙏 Please understand that we will do our best to review your PR and give you feedback as soon as possible, but please bear with us if it takes a little longer as expected. While you are waiting, make sure to:
Once the initial tests are successful, a KEDA member will ensure that the e2e tests are run. Once the e2e tests have been successfully completed, the PR may be merged at a later date. Please be patient. Learn more about our contribution guide. |
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
|
/run-e2e azure-data-explorer* |
|
/run-e2e azure* |
dttung2905
left a comment
There was a problem hiding this comment.
Thanks so much for the PR. I did a quick search on clientSecretFromEnv and there are only two occurences which are all in azure data explorer. @JorTurFer is it considered breaking changes and need 2 version announcement beforehand ?
Signed-off-by: Rick Brouwer <rickbrouwer@gmail.com>
ce7c5e5 to
22700c5
Compare
Me too. Since it never worked, I have removed that part. |
22700c5 to
78af39f
Compare
|
/run-e2e azure* |
Signed-off-by: Rick Brouwer <rickbrouwer@gmail.com>
78af39f to
dd1168d
Compare
|
/run-e2e azure* |
Refactor the Azure Data Explorer, the last one.
Further, the
clientSecretFromEnvwas storing the environment variable name as the secret value instead of resolving it viaResolvedEnv. This went unnoticed because the existing tests used the actual secret value as the env var name.What is worth considering now, since
clientSecretFromEnvhas effectively never worked in production, this raises the question of whether we should keep it at all. Given the general preference to move away from FromEnv parameters, we could remove it entirely as part of this change. If there is a reason to keep it, please indicate so.If we want to remove this, then in that case the documentation will likely need to be updated as well.
Checklist
make generate-scalers-schemahas been run to update any outdated generated filesFixes #5797