Skip to content

Conversation

@Amir-Wollman
Copy link
Contributor

@Amir-Wollman Amir-Wollman commented Sep 10, 2023

Added strings.TrimSuffix to customAuth interpreter to avoid auth failure.

*TrimSuffix was used rather than TrimSpace to avoid unwanted removal of randomly generated strings with "\n"

Checklist

Relates to #
https://kubernetes.slack.com/archives/CKZJ36A5D/p1694069463138859

Fixes #4960

@Amir-Wollman Amir-Wollman requested a review from a team as a code owner September 10, 2023 15:45
@github-actions
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:

@Amir-Wollman Amir-Wollman force-pushed the remove-custom-auth-newline branch 3 times, most recently from 81e78ac to ebdb572 Compare September 11, 2023 09:50
@Amir-Wollman Amir-Wollman force-pushed the remove-custom-auth-newline branch from ebdb572 to d436bbd Compare September 11, 2023 09:51
@JorTurFer
Copy link
Member

JorTurFer commented Sep 11, 2023

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

@JorTurFer
Copy link
Member

Thanks for the contribution! Could you merge the suggestion? Static checks are failing

Fix whitespace at the end of CHANGELOG.md file

Co-authored-by: Jorge Turrado Ferrero <[email protected]>
Signed-off-by: Amir-Wollman <[email protected]>
@zroubalik
Copy link
Member

zroubalik commented Sep 11, 2023

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

@JorTurFer : I have canceled this because it hasn't started yet and there is other commit

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! Just a nit in the Changelog

Modify CHANGELOG entry to use correct parameter names

Signed-off-by: Amir-Wollman <[email protected]>
@JorTurFer
Copy link
Member

JorTurFer commented Sep 11, 2023

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

@JorTurFer JorTurFer changed the title trim \n suffix in Prometheus customAuth parser, and add test suites **Prometheus Scaler**: Remove trailing whitespaces in customAuthHeader and customAuthValue Sep 11, 2023
@JorTurFer JorTurFer changed the title **Prometheus Scaler**: Remove trailing whitespaces in customAuthHeader and customAuthValue Prometheus Scaler: Remove trailing whitespaces in customAuthHeader and customAuthValue Sep 11, 2023
@JorTurFer JorTurFer enabled auto-merge (squash) September 11, 2023 12:32
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

@JorTurFer JorTurFer merged commit c94c20f into kedacore:main Sep 11, 2023
toniiiik pushed a commit to toniiiik/keda that referenced this pull request Jan 15, 2024
…d customAuthValue (kedacore#4959)

Co-authored-by: Jorge Turrado Ferrero <[email protected]>
Signed-off-by: anton.lysina <[email protected]>
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.

Newline character added to Prometheus Custom Auth

3 participants