Skip to main content

velero configure-other-s3

Configures snapshots to use an S3-compatible storage provider, such as Minio, as a storage destination.

Usage

kubectl kots velero configure-other-s3 [flags]
  • Provide [flags] according to the table below
FlagTypeDescription
-h, --helpHelp for the command.
-n, --namespacestringThe namespace of the Admin Console (required)
--access-key-idstringThe AWS access key ID to use for accessing the bucket (required)
--bucketstringName of the object storage bucket where backups should be stored (required)
--endpointstringThe S3 endpoint (for example, http://some-other-s3-endpoint) (required)
--pathstringPath to a subdirectory in the object store bucket
--regionstringThe region where the bucket exists (required)
--secret-access-keystringThe AWS secret access key to use for accessing the bucket (required)
--cacertstringFile containing a certificate bundle to use when verifying TLS connections to the object store
--skip-validationboolSkip the validation of the S3 bucket (default false)
--kotsadm-namespacestring

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 instead of --kotsadm-namespace to override both the registry hostname and, optionally, the registry namespace with a single flag.

--kotsadm-registrystringSet 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-passwordstringPassword to use to authenticate with the application registry. Used for air gap installations.
--registry-usernamestringUsername to use to authenticate with the application registry. Used for air gap installations.

Example

kubectl kots velero configure-other-s3 --namespace default --endpoint http://minio --region us-east-1 --bucket kots-snaps --access-key-id XXXXXXXJTJB7M2XZUV7D --secret-access-key mysecretkey