admin-console upgrade
Upgrades the KOTS Admin Console to match the version of KOTS CLI.
Usage
kubectl kots admin-console upgrade [flags]
This command supports all global flags and also:
Flag | Type | Description |
---|---|---|
--ensure-rbac | bool | When false , KOTS does not attempt to create the RBAC resources necessary to manage applications. Default: true . If a role specification is needed, use the generate-manifests command. |
-h, --help | Help for the command. | |
--kotsadm-namespace | string | Set to override the registry namespace of KOTS Admin Console images. Used for air gap installations. For more information, see Air Gap Installation in Existing Clusters with KOTS. Note: Replicated recommends that you use |
--kotsadm-registry | string | Set to override the registry hostname and namespace of KOTS Admin Console images. Used for air gap installations. For more information, see Air Gap Installation in Existing Clusters with KOTS. |
--registry-password | string | Password to use to authenticate with the application registry. Used for air gap installations. |
--registry-username | string | Username to use to authenticate with the application registry. Used for air gap installations. |
--skip-rbac-check | bool | When true , KOTS does not validate RBAC permissions. Default: false |
--strict-security-context | bool | Set to By default, KOTS Pods and containers are not deployed with a specific security context. When
The following shows the
Default: note Might not work for some storage providers. |
--wait-duration | string | Timeout out to be used while waiting for individual components to be ready. Must be in Go duration format. Example: 10s, 2m |
--with-minio | bool | When true , KOTS deploys a local MinIO instance for storage and attempts to change any MinIO-based snapshots (hostpath and NFS) to the local-volume-provider plugin. See local-volume-provider in GitHub. Default: true |
Examples
kubectl kots admin-console upgrade --namespace kots-sentry
kubectl kots admin-console upgrade --ensure-rbac=false