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

fix: safely parse renewable field from vault response #5193

Merged
merged 3 commits into from
Nov 22, 2023

Conversation

kmdrn7
Copy link
Contributor

@kmdrn7 kmdrn7 commented Nov 19, 2023

This PR fixes the issue where keda operator throwing panic error while using ScaledObject with TriggerAuthentication that use hashicorp vault provider authenticated using root token.

Checklist

Fixes #5192

@kmdrn7 kmdrn7 requested a review from a team as a code owner November 19, 2023 15:49
Copy link

Thank you for your contribution! 🙏 We will review your PR as soon as possible.

While you are waiting, make sure to:

Learn more about:

@zroubalik
Copy link
Member

@dttung2905 PTAL

@dttung2905
Copy link
Contributor

@kmdrn7 Thanks for the PR. 🙏
@zroubalik Let me review this PR in a few hours

Copy link
Contributor

@dttung2905 dttung2905 left a comment

Choose a reason for hiding this comment

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

Thanks alot for the PR. Just a minor nitpick from me 😄

pkg/scaling/resolver/hashicorpvault_handler_test.go Outdated Show resolved Hide resolved
Signed-off-by: Andika Ahmad Ramadhan <andikahmadr@gmail.com>
Signed-off-by: Andika Ahmad Ramadhan <andikahmadr@gmail.com>
@JorTurFer
Copy link
Member

JorTurFer commented Nov 21, 2023

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

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!

@JorTurFer JorTurFer enabled auto-merge (squash) November 21, 2023 11:16
@zroubalik
Copy link
Member

zroubalik commented Nov 21, 2023

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

@JorTurFer
Copy link
Member

JorTurFer commented Nov 21, 2023

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

@JorTurFer JorTurFer merged commit 3955e98 into kedacore:main Nov 22, 2023
19 checks passed
yoongon pushed a commit to yoongon/keda that referenced this pull request Nov 24, 2023
* fix: safely parse renewable field from vault response

Signed-off-by: Andika Ahmad Ramadhan <andikahmadr@gmail.com>

* fix: typos

Signed-off-by: Andika Ahmad Ramadhan <andikahmadr@gmail.com>

---------

Signed-off-by: Andika Ahmad Ramadhan <andikahmadr@gmail.com>
Signed-off-by: Yoon Park <yoongon.park@gmail.com>
toniiiik pushed a commit to toniiiik/keda that referenced this pull request Jan 15, 2024
* fix: safely parse renewable field from vault response

Signed-off-by: Andika Ahmad Ramadhan <andikahmadr@gmail.com>

* fix: typos

Signed-off-by: Andika Ahmad Ramadhan <andikahmadr@gmail.com>

---------

Signed-off-by: Andika Ahmad Ramadhan <andikahmadr@gmail.com>
Signed-off-by: anton.lysina <alysina@gmail.com>
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.

Hashicorp vault root token causing keda operator panic
4 participants