-
Notifications
You must be signed in to change notification settings - Fork 66
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
Validate LastUsedAt for Token and ClusterAuthToken #480
Validate LastUsedAt for Token and ClusterAuthToken #480
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
c65ddb3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks ok to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with the changes since last review
…)" This reverts commit 2d732bc.
Issue:
rancher/rancher#45732
Related work
Problem
A new optional field
lastUsedAt
was added to Token and ClusterAuthToken of typemetav1.Time
.Solution
Validate that if set the
lastUsedAt
field of Token and ClusterAuthToken contains a valid RFC3339 date time value.CheckList