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

(feat) Make token indefinite #93

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

gianlucam76
Copy link
Member

When registering the management cluster, register-mgmt-cluster can be passed this arg: service-account-token=true

When that is set, register-mgmt-cluster creates a Secret of type kubernetes.io/service-account-token
Instead of generating a token with an expiration, the token is taken from the newly created Secret.

Fixes #92

When registering the management cluster, register-mgmt-cluster can be passed
this arg: `service-account-token=true`

When that is set, register-mgmt-cluster creates a Secret of type
`kubernetes.io/service-account-token`
Instead of generating a token with an expiration, the token is taken
from the newly created Secret.
@gianlucam76 gianlucam76 force-pushed the service-account-token branch from 04c2de5 to 0dc1b1d Compare January 28, 2025 12:52
@gianlucam76 gianlucam76 merged commit 85184ad into projectsveltos:main Jan 28, 2025
3 checks passed
@gianlucam76 gianlucam76 deleted the service-account-token branch January 28, 2025 12:57
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.

Option to Use ServiceAccount Token for Management Cluster Registration
1 participant