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

Expose error on Tenant if certificate is near expiration or expired #2628

Merged
merged 1 commit into from
Feb 3, 2023

Conversation

allanrogerr
Copy link
Contributor

What does this do?

  • Added time left to certificates
if timeToExpire < 30 && timeToExpire >= 10 then text is orange
if timeToExpire < 10 then text is red
if timeToExpire < 1 day then text is verbose

How does it look?

image

@dvaldivia
Copy link
Collaborator

@allanrogerr how about instead of saying Expires in: 0 hours, 0 minutes we show Expires in: EXPIRED?

@allanrogerr
Copy link
Contributor Author

allanrogerr commented Feb 2, 2023

@allanrogerr how about instead of saying Expires in: 0 hours, 0 minutes we show Expires in: EXPIRED?

Sure @dvaldivia. This is what it would look like:
image

@allanrogerr allanrogerr force-pushed the tenant-expose-cert-expiring branch from 625482c to 2b18d8d Compare February 2, 2023 23:55
@dvaldivia dvaldivia merged commit 2c8b96c into minio:master Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants