API Reference
Packages
objectstorage.k8s.io/v1alpha1
AuthenticationType
Underlying type: string
Appears in:
| Field | Description | 
|---|---|
| Key | |
| IAM | 
Bucket
Appears in:
| Field | Description | Default | Validation | 
|---|---|---|---|
| kindstring | Kind 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 | ||
| apiVersionstring | APIVersion 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 | ||
| metadataObjectMeta | Refer to Kubernetes API documentation for fields of metadata. | ||
| specBucketSpec | |||
| statusBucketStatus | 
BucketAccess
Appears in:
| Field | Description | Default | Validation | 
|---|---|---|---|
| kindstring | Kind 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 | ||
| apiVersionstring | APIVersion 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 | ||
| metadataObjectMeta | Refer to Kubernetes API documentation for fields of metadata. | ||
| specBucketAccessSpec | |||
| statusBucketAccessStatus | 
BucketAccessClass
Appears in:
| Field | Description | Default | Validation | 
|---|---|---|---|
| kindstring | Kind 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 | ||
| apiVersionstring | APIVersion 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 | ||
| metadataObjectMeta | Refer to Kubernetes API documentation for fields of metadata. | ||
| driverNamestring | DriverName is the name of driver associated with this BucketAccess | ||
| authenticationTypeAuthenticationType | AuthenticationType denotes the style of authentication It can be one of Key - access, secret tokens based authentication IAM - implicit authentication of pods to the OSP based on service account mappings | ||
| parametersobject (keys:string, values:string) | Parameters is an opaque map for passing in configuration to a driver for granting access to a bucket | 
BucketAccessSpec
Appears in:
| Field | Description | Default | Validation | 
|---|---|---|---|
| bucketClaimNamestring | BucketClaimName is the name of the BucketClaim. | ||
| protocolProtocol | Protocol is the name of the Protocol that this access credential is supposed to support If left empty, it will choose the protocol supported by the bucket. If the bucket supports multiple protocols, the end protocol is determined by the driver. | ||
| bucketAccessClassNamestring | BucketAccessClassName is the name of the BucketAccessClass | ||
| credentialsSecretNamestring | CredentialsSecretName is the name of the secret that COSI should populate with the credentials. If a secret by this name already exists, then it is assumed that credentials have already been generated. It is not overridden. This secret is deleted when the BucketAccess is delted. | ||
| serviceAccountNamestring | ServiceAccountName is the name of the serviceAccount that COSI will map to the OSP service account when IAM styled authentication is specified | 
BucketAccessStatus
Appears in:
| Field | Description | Default | Validation | 
|---|---|---|---|
| accountIDstring | AccountID is the unique ID for the account in the OSP. It will be populated by the COSI sidecar once access has been successfully granted. | ||
| accessGrantedboolean | AccessGranted indicates the successful grant of privileges to access the bucket | 
BucketClaim
Appears in:
| Field | Description | Default | Validation | 
|---|---|---|---|
| kindstring | Kind 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 | ||
| apiVersionstring | APIVersion 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 | ||
| metadataObjectMeta | Refer to Kubernetes API documentation for fields of metadata. | ||
| specBucketClaimSpec | |||
| statusBucketClaimStatus | 
BucketClaimSpec
Appears in:
| Field | Description | Default | Validation | 
|---|---|---|---|
| bucketClassNamestring | Name of the BucketClass | ||
| protocolsProtocol array | Protocols are the set of data API this bucket is required to support. The possible values for protocol are: - S3: Indicates Amazon S3 protocol - Azure: Indicates Microsoft Azure BlobStore protocol - GCS: Indicates Google Cloud Storage protocol | ||
| existingBucketNamestring | Name of a bucket object that was manually created to import a bucket created outside of COSI If unspecified, then a new Bucket will be dynamically provisioned | 
BucketClaimStatus
Appears in:
| Field | Description | Default | Validation | 
|---|---|---|---|
| bucketReadyboolean | BucketReady indicates that the bucket is ready for consumpotion by workloads | ||
| bucketNamestring | BucketName is the name of the provisioned Bucket in response to this BucketClaim. It is generated and set by the COSI controller before making the creation request to the OSP backend. | 
BucketClass
Appears in:
| Field | Description | Default | Validation | 
|---|---|---|---|
| kindstring | Kind 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 | ||
| apiVersionstring | APIVersion 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 | ||
| metadataObjectMeta | Refer to Kubernetes API documentation for fields of metadata. | ||
| driverNamestring | DriverName is the name of driver associated with this bucket | ||
| deletionPolicyDeletionPolicy | DeletionPolicy is used to specify how COSI should handle deletion of this bucket. There are 2 possible values: - Retain: Indicates that the bucket should not be deleted from the OSP - Delete: Indicates that the bucket should be deleted from the OSP once all the workloads accessing this bucket are done | Retain | |
| parametersobject (keys:string, values:string) | Parameters is an opaque map for passing in configuration to a driver for creating the bucket | 
BucketSpec
Appears in:
| Field | Description | Default | Validation | 
|---|---|---|---|
| driverNamestring | DriverName is the name of driver associated with this bucket | ||
| bucketClassNamestring | Name of the BucketClass specified in the BucketRequest | ||
| bucketClaimObjectReference | Name of the BucketClaim that resulted in the creation of this Bucket In case the Bucket object was created manually, then this should refer to the BucketClaim with which this Bucket should be bound | ||
| protocolsProtocol array | Protocols are the set of data APIs this bucket is expected to support. The possible values for protocol are: - S3: Indicates Amazon S3 protocol - Azure: Indicates Microsoft Azure BlobStore protocol - GCS: Indicates Google Cloud Storage protocol | ||
| parametersobject (keys:string, values:string) | |||
| deletionPolicyDeletionPolicy | DeletionPolicy is used to specify how COSI should handle deletion of this bucket. There are 2 possible values: - Retain: Indicates that the bucket should not be deleted from the OSP (default) - Delete: Indicates that the bucket should be deleted from the OSP once all the workloads accessing this bucket are done | Retain | |
| existingBucketIDstring | ExistingBucketID is the unique id of the bucket in the OSP. This field should be used to specify a bucket that has been created outside of COSI. This field will be empty when the Bucket is dynamically provisioned by COSI. | 
BucketStatus
Appears in:
| Field | Description | Default | Validation | 
|---|---|---|---|
| bucketReadyboolean | BucketReady is a boolean condition to reflect the successful creation of a bucket. | ||
| bucketIDstring | BucketID is the unique id of the bucket in the OSP. This field will be populated by COSI. | 
DeletionPolicy
Underlying type: string
Appears in:
| Field | Description | 
|---|---|
| Retain | |
| Delete | 
Protocol
Underlying type: string
Appears in:
| Field | Description | 
|---|---|
| S3 | |
| Azure | |
| GCP |