Skip to content
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

prevent operator from panic on invalid characters within Azure Eventhub-Storage path #3080

Merged
merged 1 commit into from
May 31, 2022

Conversation

christle
Copy link
Contributor

@christle christle commented May 30, 2022

Hello,

we facing an issue with a crashing keda operator if the storage path of the eventhub scaler contains invalid characters. In our case, this happened with a wrong encoded base64 secret.

this change prevents the operator from crashing The url.parse provide a valid readable error message with enough details for debugging, so I did not add additional information on it.

Fixes: #3082

Copy link
Member

@JorTurFer JorTurFer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!
Could you update the changelog? 🙏

Copy link
Member

@zroubalik zroubalik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good! Thanks for the contribution.

We should also open an issue for this, so it can be referenced in the Changelog

@christle
Copy link
Contributor Author

fix #3082

@christle
Copy link
Contributor Author

should i make a changelog entry within this PR?

@JorTurFer
Copy link
Member

should i make a changelog entry within this PR?

yes please, create an entry referring the issue 🙏

@zroubalik zroubalik changed the title prevent operator from panic on invalid characters within eventhub-storage path prevent operator from panic on invalid characters within Azure Eventhub-Storage path May 30, 2022
@zroubalik
Copy link
Member

zroubalik commented May 30, 2022

/run-e2e azure*
Update: You can check the progres here

…rage path

Signed-off-by: Christian Leinweber <christian.leinweber@maibornwolff.de>
@christle
Copy link
Contributor Author

done

Copy link
Member

@zroubalik zroubalik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants