API Reference

Packages

storage.evroclabs.net/v1alpha3

Package v1alpha3 contains API Schema definitions for the storage v1alpha3 API group

Resource Types

Bucket

Bucket is the Schema for the buckets API.

FieldDescriptionDefaultValidation
apiVersion stringstorage.evroclabs.net/v1alpha3
kind stringBucket
kind stringKind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
apiVersion stringAPIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.
spec BucketSpec

BucketOwner

Appears in:

FieldDescriptionDefaultValidation
kind BucketOwnerKindKind represents the kind of owner we are talking about, currently this may be either "User.[username]" or "ServiceAccount.[accountname]"Enum: [User ServiceAccount]
name stringName represents the name of the object of the referred to kind, living in the same namespace as the bucketMaxLength: 255

BucketOwnerKind

Underlying type: string

Appears in:

FieldDescription
ServiceAccount
User

BucketSpec

BucketSpec defines the desired state of Bucket.

Appears in:

FieldDescriptionDefaultValidation
owners BucketOwner arrayOwners represents the list of owners that have blanket full access to this bucketMaxItems: 20
objectVersioningMode ObjectVersioningModeObjectVersioningMode controls how versioning of objects behave. If not explicitly set,
the default behavior depends on whether or not object locking is enabled. If object
locking is enabled, then object versioning mode is enforced to Enabled. If
object locking is disabled, the default mode is Disabled. If versioning is ever
set to either Enabled or Suspended, then it can not be reset back to Disabled
again.
Enum: [Disabled Suspended Enabled]
Optional: {}
enableObjectLock booleanEnable object in the bucket to be configured with object lockfalseOptional: {}
defaultObjectLockRetention DefaultObjectLockRetentionDefaultObjectLockRetention can be used when EnableObjectLock is set to true. It control
the default object lock behavior for objects stored in the bucket. The defaults
can be overridden on a per-object level.
Optional: {}

DefaultObjectLockRetention

Appears in:

FieldDescriptionDefaultValidation
mode ObjectLockModeMode defines what type of protection is applied on objects when object lock is enabled.Enum: [S3Governance S3Compliance]
Required: {}
period ObjectLockRetentionPeriodPeriod specified the default time period that objects are locked, if no
other value is explicitly provided.
Required: {}

ObjectLockMode

Underlying type: string

Appears in:

FieldDescription
S3Governance
S3Compliance

ObjectLockRetentionPeriod

Appears in:

FieldDescriptionDefaultValidation
count integerCount is how long the period is, in the provided Unit.Minimum: 1
Required: {}
unit ObjectLockRetentionPeriodUnitUnit is the unit for the period, either Days or Years.Enum: [Days Years]
Required: {}

ObjectLockRetentionPeriodUnit

Underlying type: string

Appears in:

ObjectVersioningMode

Underlying type: string

Appears in:

FieldDescription
Disabled
Suspended
Enabled