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

Set authorization always when oidc token is provided #12577

Conversation

KacperMalachowski
Copy link
Contributor

Description

Currently OIDC token is set in authorizaiton parameter only for Github Actions, we need to set it always to avoid confusions.
The fix implementation was due to some security concerns about leaking the token, but now it's causing confusions. To avoid that let's move repsonsibility for token on user.

Changes proposed in this pull request:

  • Update condition to check if oidc token is provided instead of if client run in github actions

@kyma-bot kyma-bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 20, 2025
@KacperMalachowski KacperMalachowski marked this pull request as ready for review January 20, 2025 10:03
@kyma-bot kyma-bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 20, 2025
@kyma-bot kyma-bot added cla: yes Indicates the PR's author has signed the CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jan 20, 2025
@kyma-bot kyma-bot added the lgtm Looks good to me! label Jan 20, 2025
@kyma-bot kyma-bot merged commit 7cbeb78 into kyma-project:main Jan 20, 2025
51 checks passed
@KacperMalachowski KacperMalachowski deleted the fix-authorization-param-image-builder branch January 20, 2025 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Indicates the PR's author has signed the CLA. image-builder lgtm Looks good to me! size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants