-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bubble Up vault errors to ScaledObject Events #5190
Comments
I think that this will be really useful. I have assigned it to you (as you are willing to implement it 😄 ) |
We can probably also update TriggerAuth controller to check this when TriggerAuth object is created/updated. @kedacore/keda-maintainers WDYT? |
I think we should do both:
|
I tried to add support for this in the validating webhook but it's much more complicated then it seems; I see a path forward but it's not trivial,
|
Proposal
Any errors in vault TriggerAuth configurations such as permissions or connectivity problems make it confusing to debug. Since the vault configuration lies within each ScaledObject, it could bubble up more descriptive errors when it's misconfigured instead of having to parse keda logs to find the root cause.
Use-Case
For example; when defining a ScaledObject and a TriggerAuth with an incorrect params;
& lets say that our user can't auth to vault because of some permission issues and we get the following:
this gives us the following Events on the ScaledObject
it's a confusing error message to debug; it would be easier if it exposed the direct error from vault:
ex:
Is this a feature you are interested in implementing yourself?
Yes
Anything else?
No response
The text was updated successfully, but these errors were encountered: