Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConfigMapName = "kube-apiserver-legacy-service-account-token-tracking" ConfigMapDataKey = "since" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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.
Click to show internal directories.
Click to hide internal directories.