The module lifecycle stage: General Availability
The module has requirements for installation
The Deckhouse Kubernetes Platform installs CRDs but does not remove them when a module is disabled. If you no longer need the created CRDs, delete them.
S3StorageClass
Scope: Cluster
Version: v1alpha1
-
objectmetadata
-
objectspecConfiguration for the S3 storage class.
-
stringspec.accessKeyID
Required value
The access key ID for connecting to the S3 storage. Identical to AWSaws_access_key_id.Minimal length:
1 -
stringspec.accessKeySecret
Required value
The secret access key for connecting to the S3 storage. Identical to AWSaws_secret_access_key.Minimal length:
1 -
stringspec.bucketNameThe 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.<region>.amazonaws.com” (e.g., “https://s3.eu-central-1.amazonaws.com”). -
booleanspec.insecureIf 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.regionSpecifies the S3 storage region. For AWS, this can be specified via the endpointUrl parameter
Minimal length:
1
-
-
objectstatusRepresents the current status of the S3 storage class.
-
array of objectsstatus.conditionsThe latest observations of the resource state. Condition type:
Ready.-
stringstatus.conditions.lastTransitionTimeTimestamp of the last status transition for this condition. It is not bumped when only the reason or the message changes.
-
stringstatus.conditions.messageHuman-readable explanation of the current status.
Maximum length:
32768 -
integerstatus.conditions.observedGenerationThe value of
metadata.generationthis condition was set against.Allowed values:
0 <= X -
stringstatus.conditions.reasonMachine-readable reason for the current status, suitable for log filtering and alerting.
Length:
1..1024Pattern:
^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ -
stringstatus.conditions.statusCurrent status of the condition.
Allowed values:
True,False,Unknown -
stringstatus.conditions.typeCondition type.
ReadyisTrueonce the StorageClass and the credentials secret are in place, andFalsewhen a reconcile pass failed or the resource is being deleted — thereasontells those apart (ReconcileFailed/Deleting). Until the controller has produced its first verdict the condition is absent rather thanUnknown.Maximum length:
316Pattern:
^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
-
-
integerstatus.observedGenerationThe value of
metadata.generationthe controller has last acted on. When it trailsmetadata.generation, the controller has not yet processed the latest spec, and the conditions below still describe the previous one.Allowed values:
0 <= X -
stringstatus.phase
The current state of the S3 storage class. Might be:
- Failed (indicating errors in the configuration or setup)
- Created (indicating successful creation and operation).
Allowed values:
Failed,Created -
stringstatus.reasonAdditional information about the current state.
-