S3StorageClass
Scope: Cluster
Version: v1alpha1
S3StorageClass is a Kubernetes Custom Resource that defines a configuration for an S3-backed Kubernetes Storage class.
- objectmetadata
- objectspec
Required value
Configuration for the S3 storage class.
- stringspec.accessKeyID
Required value
The access key ID for connecting to the S3 storage. Identical to AWS
aws_access_key_id. - stringspec.accessKeySecret
Required value
The secret access key for connecting to the S3 storage. Identical to AWS
aws_secret_access_key. - stringspec.bucketName
The name of the bucket in S3. If empty, a new bucket will be dynamically created for each PVC. If not empty, folders (paths) will be dynamically created within the specified bucket for each PVC.
- stringspec.endpointUrl
Required value
The URL of the S3 API endpoint. For AWS, it should be in the format: “https://s3.
.amazonaws.com" (e.g., "https://s3.eu-central-1.amazonaws.com"). - booleanspec.insecure
If set to true, the S3 storage class will not verify the SSL certificate of the S3 endpoint. It enables ignoring of SSL-certificates erros - we do not recommend to use the option, it’s not safe.
Default:
false - integerspec.maxCacheSize
Required value
The size of the mounter’s cache in megabytes.
Allowed values:
200 <= X - stringspec.region
Specifies the S3 storage region. For AWS, this can be specified via the endpointUrl parameter