package legacytokentracking
import "k8s.io/kubernetes/pkg/controlplane/controller/legacytokentracking"
Index ¶
Constants ¶
const ( ConfigMapName = "kube-apiserver-legacy-service-account-token-tracking" ConfigMapDataKey = "since" )
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller maintains a timestamp value configmap `kube-apiserver-legacy-service-account-token-tracking` in `kube-system` to indicates if the tracking for legacy tokens is enabled in the cluster. For HA clusters, the configmap will be eventually created after all controller instances have enabled the feature. When disabling this feature, existing configmap will be deleted.
func NewController ¶
func NewController(cs kubernetes.Interface) *Controller
NewController returns a Controller struct.
func (*Controller) Run ¶
func (c *Controller) Run(stopCh <-chan struct{})
Run starts the controller sync loop.
Source Files ¶
controller.go
- Version
- v1.33.0 (latest)
- Published
- Apr 23, 2025
- Platform
- linux/amd64
- Imports
- 17 packages
- Last checked
- 3 hours ago –
Tools for package owners.