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

Run expiration check with extended time for all tokens #12245

Merged
merged 2 commits into from
Oct 28, 2024

Conversation

dekiel
Copy link
Contributor

@dekiel dekiel commented Oct 25, 2024

Description

Changes proposed in this pull request:

Skip expiry check and run expiration check with 10 minutes expiration time by default for all tokens.
Added options to set expiry check and expiration time values.
Verify method runs own expiration check if upstream expiry check is skipped.
Added expiration check verification.
Applying options only if provided. This allows better logging.
Print oidc verifier config in log messages
Cleanup code comments and unused flags.
Renaming cobra command function to better represent its purpose.

Print oidc verifier config in log messages
@kyma-bot
Copy link
Contributor

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@kyma-bot kyma-bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. cla: yes Indicates the PR's author has signed the CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Oct 25, 2024
… time by default for all tokens.

Added options to set expiry check and expiration time values.
Verify method runs own expiration check if upstream expiry check is skipped.
Added expiration check verification.
Applying options only if provided. This allows better logging.
@kyma-bot kyma-bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Oct 27, 2024
@dekiel dekiel changed the title Remove unused flags Run expiration check with extended time for all tokens Oct 27, 2024
@dekiel dekiel marked this pull request as ready for review October 27, 2024 19:19
@dekiel dekiel requested review from neighbors-dev-bot and a team as code owners October 27, 2024 19:19
@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 Oct 27, 2024
pkg/oidc/oidc.go Show resolved Hide resolved
@kyma-bot kyma-bot added the lgtm Looks good to me! label Oct 28, 2024
@kyma-bot kyma-bot merged commit 82cd35f into kyma-project:main Oct 28, 2024
92 checks passed
@dekiel dekiel deleted the image-builder-cleanup branch October 28, 2024 13:47
@Sawthis Sawthis assigned dekiel and unassigned akiioto Oct 31, 2024
KacperMalachowski pushed a commit to KacperMalachowski/test-infra that referenced this pull request Nov 6, 2024
…12245)

* Remove unused flags
Print oidc verifier config in log messages

* Skip expiry check and run expiration check with 10 minutes expiration time by default for all tokens.
Added options to set expiry check and expiration time values.
Verify method runs own expiration check if upstream expiry check is skipped.
Added expiration check verification.
Applying options only if provided. This allows better logging.
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. lgtm Looks good to me! size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants