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

Setting Duration to Zero Results in Unexpected 30-Day Expiry #19794

Closed
goutham1012 opened this issue Jan 4, 2024 · 2 comments · Fixed by #19829
Closed

Setting Duration to Zero Results in Unexpected 30-Day Expiry #19794

goutham1012 opened this issue Jan 4, 2024 · 2 comments · Fixed by #19829
Assignees
Labels
area/doc Issues to track documentation tasks

Comments

@goutham1012
Copy link

If you are reporting a problem, please make sure the following information are provided:

Expected behavior and actual behavior:
Set Duration to 0 for Robot Account Creation, Expected No Expiry, However UI Displays 30 Days. See Attached Snapshots for Review.

Steps to reproduce the problem:
Attached the snapshot
create-robot-account
response-body

Versions:
Please specify the versions of following systems.

  • harbor version:v2.9.1-5cbb1b01
  • docker engine version: 4.4.1
@MinerYang
Copy link
Contributor

MinerYang commented Jan 5, 2024

For never been expired, please set as -1, duration 0 means default system setting as 30 days when use api to create a robot account

@goutham1012
Copy link
Author

@MinerYang -- Thank you for your assistance. Could you kindly share any documentation that explains where these values are represented?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/doc Issues to track documentation tasks
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants