Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,112 +1,110 @@
apiVersion: apiextensions.k8s.io/v1beta1
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: cassandrabackups.cassandraoperator.instaclustr.com
spec:
additionalPrinterColumns:
- JSONPath: .globalStatus
description: Restore operation status
name: Status
type: string
- JSONPath: .globalProgress
description: Restore operation progress
name: Progress
type: string
group: cassandraoperator.instaclustr.com
names:
kind: CassandraBackup
listKind: CassandraBackupList
plural: cassandrabackups
singular: cassandrabackup
scope: Namespaced
subresources: {}
validation:
openAPIV3Schema:
description: CassandraBackup is the Schema for the cassandrabackups API
properties:
apiVersion:
description: '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'
type: string
globalProgress:
type: string
globalStatus:
type: string
justCreate:
type: boolean
kind:
description: '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'
type: string
metadata:
type: object
spec:
description: CassandraBackupSpec defines the desired state of CassandraBackup
properties:
cdc:
type: string
cluster:
type: string
concurrentConnections:
type: integer
createMissingBucket:
type: boolean
datacenter:
description: Cassandra DC name to back up. Used to find the pods in
the CDC
type: string
entities:
type: string
globalRequest:
type: boolean
insecure:
type: boolean
metadataDirective:
type: string
secret:
type: string
skipBucketVerification:
type: boolean
snapshotTag:
description: The snapshot tag for the backup
type: string
storageLocation:
description: The uri for the backup target location e.g. s3 bucket,
filepath
type: string
required:
- cdc
- cluster
- datacenter
- snapshotTag
- storageLocation
type: object
status:
items:
description: CassandraBackupStatus defines the observed state of CassandraBackup
versions:
- name: v1alpha1
served: true
storage: true
additionalPrinterColumns:
- jsonPath: .globalStatus
description: Restore operation status
name: Status
type: string
- jsonPath: .globalProgress
description: Restore operation progress
name: Progress
type: string
schema:
openAPIV3Schema:
description: CassandraBackup is the Schema for the cassandrabackups API
properties:
apiVersion:
description: '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'
type: string
globalProgress:
type: string
globalStatus:
type: string
justCreate:
type: boolean
kind:
description: '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'
type: string
metadata:
type: object
spec:
description: CassandraBackupSpec defines the desired state of CassandraBackup
properties:
node:
description: name of pod / node
cdc:
type: string
cluster:
type: string
concurrentConnections:
type: integer
createMissingBucket:
type: boolean
datacenter:
description: Cassandra DC name to back up. Used to find the pods in
the CDC
type: string
progress:
description: Progress shows the percentage of the operation done
entities:
type: string
state:
description: State shows the status of the operation
globalRequest:
type: boolean
insecure:
type: boolean
metadataDirective:
type: string
secret:
type: string
skipBucketVerification:
type: boolean
snapshotTag:
description: The snapshot tag for the backup
type: string
storageLocation:
description: The uri for the backup target location e.g. s3 bucket,
filepath
type: string
required:
- node
- progress
- state
- cdc
- cluster
- datacenter
- snapshotTag
- storageLocation
type: object
type: array
required:
- spec
type: object
version: v1alpha1
versions:
- name: v1alpha1
served: true
storage: true
status:
items:
description: CassandraBackupStatus defines the observed state of CassandraBackup
properties:
node:
description: name of pod / node
type: string
progress:
description: Progress shows the percentage of the operation done
type: string
state:
description: State shows the status of the operation
type: string
required:
- node
- progress
- state
type: object
type: array
required:
- spec
type: object
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: apiextensions.k8s.io/v1beta1
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: cassandraclusters.cassandraoperator.instaclustr.com
Expand All @@ -10,33 +10,30 @@ spec:
plural: cassandraclusters
singular: cassandracluster
scope: Namespaced
subresources:
status: {}
validation:
openAPIV3Schema:
description: CassandraCluster is the Schema for the cassandraclusters API
properties:
apiVersion:
description: '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'
type: string
kind:
description: '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'
type: string
metadata:
type: object
spec:
description: CassandraClusterSpec defines the desired state of CassandraCluster
type: object
status:
description: CassandraClusterStatus defines the observed state of CassandraCluster
type: object
type: object
version: v1alpha1
versions:
- name: v1alpha1
served: true
storage: true
schema:
openAPIV3Schema:
description: CassandraCluster is the Schema for the cassandraclusters API
properties:
apiVersion:
description: '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'
type: string
kind:
description: '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'
type: string
metadata:
type: object
spec:
description: CassandraClusterSpec defines the desired state of CassandraCluster
type: object
status:
description: CassandraClusterStatus defines the observed state of CassandraCluster
type: object
type: object
Loading