Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateGenericTokenKubeconfig ¶
func GenerateGenericTokenKubeconfig(ctx context.Context, secretsManager secretsmanager.Interface, namespace, kubeAPIServerAddress string) (*corev1.Secret, error)
GenerateGenericTokenKubeconfig generates a generic token kubeconfig in the given namespace for the given kube-apiserver address
func IsTokenPopulated ¶
IsTokenPopulated checks if a `kubeconfig` secret already contains a token.
func RenewAccessSecrets ¶
RenewAccessSecrets drops the serviceaccount.resources.gardener.cloud/token-renew-timestamp annotation from all access secrets. This will make the TokenRequestor controller part of gardener-resource-manager issuing new tokens immediately.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.