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

Add support for tls in rabbitmq scaler (#967) #4086

Merged
merged 12 commits into from
Jan 17, 2023
Merged

Conversation

mohite-abhi
Copy link
Contributor

@mohite-abhi mohite-abhi commented Jan 10, 2023

Signed-off-by: Abhishek Mohite b518004@iiit-bh.ac.in

Added tls support to rabbit mq with scaler configuration much like kafka. Checking if tls is enabled by using tls auth parameter. Calling DialTLS by passing tls auth parameters like ca, cert, key to it if tls is enabled.

Checklist

Fixes #
Solved error connecting to RabbitMQ host using certificate on using amqps.

Relates to #

@mohite-abhi mohite-abhi requested a review from a team as a code owner January 10, 2023 10:11
Copy link
Contributor Author

@mohite-abhi mohite-abhi left a comment

Choose a reason for hiding this comment

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

Fix linting errors

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.

Thanks for the improvement!
I have left some comments inline

CHANGELOG.md Outdated Show resolved Hide resolved
pkg/scalers/rabbitmq_scaler.go Outdated Show resolved Hide resolved
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.

Looking good!
Could you fix the failing test please? 🙏
image

@JorTurFer
Copy link
Member

Could you resolve the conflicts in the changelog please? Changes look good but CI checks are blocked

@JorTurFer
Copy link
Member

There still are conflicts in CHANGELOG.md, could you fix them? 🙏

@zroubalik
Copy link
Member

zroubalik commented Jan 16, 2023

/run-e2e rabbit*
Update: You can check the progress here

Signed-off-by: Abhishek Mohite <b518004@iiit-bh.ac.in>
Signed-off-by: Abhishek Mohite <b518004@iiit-bh.ac.in>
Signed-off-by: Abhishek Mohite <b518004@iiit-bh.ac.in>
Signed-off-by: Abhishek Mohite <b518004@iiit-bh.ac.in>
Signed-off-by: Abhishek Mohite <b518004@iiit-bh.ac.in>
Signed-off-by: Abhishek Mohite <b518004@iiit-bh.ac.in>
Signed-off-by: Abhishek Mohite <b518004@iiit-bh.ac.in>
Signed-off-by: Abhishek Mohite <b518004@iiit-bh.ac.in>
Signed-off-by: Abhishek Mohite <b518004@iiit-bh.ac.in>
Signed-off-by: Abhishek Mohite <b518004@iiit-bh.ac.in>
Signed-off-by: Abhishek Mohite <b518004@iiit-bh.ac.in>
Signed-off-by: Abhishek Mohite <b518004@iiit-bh.ac.in>
@JorTurFer
Copy link
Member

JorTurFer commented Jan 17, 2023

/run-e2e rabbit*
Update: You can check the progress here

@JorTurFer JorTurFer merged commit ba93cab into kedacore:main Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants