canonical / k8s-snap

Canonical Kubernetes is an opinionated and CNCF conformant Kubernetes operated by Snaps and Charms, which come together to bring simplified operations and an enhanced security posture on any infrastructure.
GNU General Public License v3.0
40 stars 11 forks source link

Add worker token TTL #621

Closed bschimke95 closed 1 month ago

bschimke95 commented 1 month ago

Add an optional TTL for worker tokens similar to https://github.com/canonical/k8s-snap/pull/620

This PR requires the (backward-compatible) update in the k8s-snap-api. https://github.com/canonical/k8s-snap-api/pull/5 Once this PR is reviewed and approved, I will merge the API change, create a new tag (1.0.3) and update this k8s-snap PR to use the new API version.