glab-cluster-agent-update-kubeconfig - Man Page
Update selected kubeconfig.
Synopsis
glab cluster agent update-kubeconfig [flags]
Description
Update selected kubeconfig for use with a GitLab agent for Kubernetes.
Options
-a, --agent=0 The numeric agent ID to create the kubeconfig entry for.
-c, --cache-mode="force-keyring" Mode to use for caching the token (allowed: keyring-filesystem-fallback, force-keyring, force-filesystem, no)
--check-revoked[=false] Check if a cached token is revoked. This requires an API call to GitLab which adds latency every time a cached token is accessed.
--kubeconfig="" Use a particular kubeconfig file.
--token-expiry-duration=24h0m0s Duration for how long the generated tokens should be valid for. Minimum is 1 day and the effective expiry is always at the end of the day, the time is ignored.
-u, --use-context[=false] Use as default context.
Options Inherited from Parent Commands
-h, --help[=false] Show help for this command.
- -R, ā--repo="" Select another repository. Can use either OWNER/REPO or GROUP/NAMESPACE/REPO
- format. Also accepts full URL or Git URL.