With Kubernetes 1.24 and later, short-lived tokens are now a "thing". This change allows the leader-election role to conduct token reviews in line with the advice on this page
Notes for reviewer
Without this, you may see errors like this: cannot create resource "tokenreviews" in API group (see this KB article too)
Overview
With Kubernetes 1.24 and later, short-lived tokens are now a "thing". This change allows the leader-election role to conduct token reviews in line with the advice on this page
Notes for reviewer
Without this, you may see errors like this:
cannot create resource "tokenreviews" in API group
(see this KB article too)