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

Add kubeconfig expiration option for credentials #1306

Merged
merged 4 commits into from
Jan 21, 2025

Conversation

linuxluigi
Copy link
Contributor

Introduce an option to specify the expiration time for kubeconfig credentials, enhancing the flexibility of credential management. Remove the default value for this option to allow explicit configuration.

@linuxluigi
Copy link
Contributor Author

I tested the code changes, and it is working well for me.

Screenshot 2025-01-15 at 15 07 20

But I did not know how to properly add unit test for it. Maybe someone could give me a hint here.

Copy link
Member

@andrewsomething andrewsomething left a comment

Choose a reason for hiding this comment

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

Thanks for this great contribution!

Would you mind adding a line to the docs for this new attribute?

The following arguments are supported:

@linuxluigi
Copy link
Contributor Author

@andrewsomething the documentation is now added.

Copy link
Member

@andrewsomething andrewsomething left a comment

Choose a reason for hiding this comment

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

👍 Thanks again @linuxluigi!

@andrewsomething andrewsomething merged commit 8473e52 into digitalocean:main Jan 21, 2025
3 checks passed
@linuxluigi linuxluigi deleted the chore/kubeconfig branch January 22, 2025 08:43
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