Skip to content

fix: don't cast undefined expiration times in exec auth - #2666

Merged
k8s-ci-robot merged 1 commit into
kubernetes-client:mainfrom
sachiniyer:siyer/optional-expiration-time-exec-auth
Oct 17, 2025
Merged

k8s-ci-robot merged 1 commit into
kubernetes-client:mainfrom
sachiniyer:siyer/optional-expiration-time-exec-auth

Conversation

@sachiniyer

Copy link
Copy Markdown
Contributor

I believe that expiration timestamp in exec auth does not always have to be defined from the docs and the go client

This PR adjusts the type, adds the correct handling for undefined expiration times, and adds a unit test.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Oct 17, 2025

@cjihrig cjihrig left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for the contribution!

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 17, 2025
@k8s-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cjihrig, sachiniyer

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 17, 2025
@k8s-ci-robot
k8s-ci-robot merged commit ac81b7d into kubernetes-client:main Oct 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants