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

External Scaler: Add tls options in TriggerAuth metadata #4407

Merged
merged 16 commits into from
May 18, 2023

Conversation

dttung2905
Copy link
Contributor

@dttung2905 dttung2905 commented Mar 26, 2023

Hi team,
This PR will fix the issue #3565

Checklist

Relates: #4549

@dttung2905 dttung2905 requested a review from a team as a code owner March 26, 2023 15:41
@JorTurFer
Copy link
Member

Hi @dttung2905
(Not pressure at all) Is this ready to review? I haven't done it yet because I have seen the WIP prefix but maybe it's ready and you are expecting the review

@dttung2905
Copy link
Contributor Author

Hi @JorTurFer , my bad on the misleading title. Yes, please help to give me some early feedback on my PR 😛

@JorTurFer
Copy link
Member

Hi @JorTurFer , my bad on the misleading title. Yes, please help to give me some early feedback on my PR 😛

I'll check it tomorrow morning

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, I have left some inline comments.
Will you add and e2e test to check this feature?

pkg/scalers/external_scaler.go Outdated Show resolved Hide resolved
pkg/scalers/external_scaler.go Outdated Show resolved Hide resolved
@dttung2905 dttung2905 force-pushed the external-scaler-tls branch from 23bf0f7 to f662140 Compare April 22, 2023 06:58
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, nice job! Only small nits inline

pkg/scalers/external_scaler.go Outdated Show resolved Hide resolved
pkg/util/tls_config_test.go Outdated Show resolved Hide resolved
@JorTurFer
Copy link
Member

JorTurFer commented Apr 24, 2023

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

@dttung2905 dttung2905 force-pushed the external-scaler-tls branch from cba5f5a to 378fa3b Compare April 25, 2023 14:36
@JorTurFer
Copy link
Member

JorTurFer commented Apr 25, 2023

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

@dttung2905 dttung2905 force-pushed the external-scaler-tls branch from 2244321 to 28fc2b5 Compare April 30, 2023 10:21
@dttung2905 dttung2905 force-pushed the external-scaler-tls branch from 28fc2b5 to 2cd91d2 Compare May 9, 2023 15:13
@JorTurFer
Copy link
Member

JorTurFer commented May 9, 2023

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

@JorTurFer
Copy link
Member

JorTurFer commented May 10, 2023

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

@dttung2905 dttung2905 force-pushed the external-scaler-tls branch 2 times, most recently from 20beacd to d2de7b6 Compare May 13, 2023 14:02
@JorTurFer
Copy link
Member

JorTurFer commented May 17, 2023

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

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.

@dttung2905 please let us know when is this ready for a review.

@dttung2905 dttung2905 changed the title WIP: Add tls options in TriggerAuth metadata Add tls options in TriggerAuth metadata May 17, 2023
@dttung2905
Copy link
Contributor Author

@dttung2905 please let us know when is this ready for a review.

Hi @zroubalik , its ready for review 🙏

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, great job, just a minor nit on deprecation issue.

pkg/scalers/external_scaler.go Outdated Show resolved Hide resolved
@JorTurFer
Copy link
Member

JorTurFer commented May 17, 2023

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

Signed-off-by: dttung2905 <ttdao.2015@accountancy.smu.edu.sg>
Signed-off-by: dttung2905 <ttdao.2015@accountancy.smu.edu.sg>
Signed-off-by: dttung2905 <ttdao.2015@accountancy.smu.edu.sg>
dttung2905 added 13 commits May 18, 2023 19:10
Signed-off-by: dttung2905 <ttdao.2015@accountancy.smu.edu.sg>
Signed-off-by: dttung2905 <ttdao.2015@accountancy.smu.edu.sg>
Signed-off-by: dttung2905 <ttdao.2015@accountancy.smu.edu.sg>
Signed-off-by: dttung2905 <ttdao.2015@accountancy.smu.edu.sg>
Signed-off-by: dttung2905 <ttdao.2015@accountancy.smu.edu.sg>
Signed-off-by: dttung2905 <ttdao.2015@accountancy.smu.edu.sg>
Signed-off-by: dttung2905 <ttdao.2015@accountancy.smu.edu.sg>
Signed-off-by: dttung2905 <ttdao.2015@accountancy.smu.edu.sg>
Signed-off-by: dttung2905 <ttdao.2015@accountancy.smu.edu.sg>
Signed-off-by: dttung2905 <ttdao.2015@accountancy.smu.edu.sg>
Signed-off-by: dttung2905 <ttdao.2015@accountancy.smu.edu.sg>
Signed-off-by: dttung2905 <ttdao.2015@accountancy.smu.edu.sg>
Signed-off-by: dttung2905 <ttdao.2015@accountancy.smu.edu.sg>
@dttung2905 dttung2905 force-pushed the external-scaler-tls branch from 99ce5e4 to 2af0f96 Compare May 18, 2023 11:11
@zroubalik
Copy link
Member

zroubalik commented May 18, 2023

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

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, great job!

@zroubalik zroubalik changed the title Add tls options in TriggerAuth metadata External Scaler: Add tls options in TriggerAuth metadata May 18, 2023
@zroubalik zroubalik merged commit dcfcddc into kedacore:main May 18, 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