--- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.16.5 name: etcdcopybackupstasks.druid.gardener.cloud spec: group: druid.gardener.cloud names: kind: EtcdCopyBackupsTask listKind: EtcdCopyBackupsTaskList plural: etcdcopybackupstasks singular: etcdcopybackupstask scope: Namespaced versions: - additionalPrinterColumns: - jsonPath: .metadata.creationTimestamp name: Age type: date name: v1alpha1 schema: openAPIV3Schema: description: EtcdCopyBackupsTask is a task for copying etcd backups from a source to a target store. 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: EtcdCopyBackupsTaskSpec defines the parameters for the copy backups task. properties: maxBackupAge: description: |- MaxBackupAge is the maximum age in days that a backup must have in order to be copied. By default, all backups will be copied. format: int32 minimum: 0 type: integer maxBackups: description: MaxBackups is the maximum number of backups that will be copied starting with the most recent ones. format: int32 minimum: 0 type: integer podLabels: additionalProperties: type: string description: PodLabels is a set of labels that will be added to pod(s) created by the copy backups task. type: object sourceStore: description: SourceStore defines the specification of the source object store provider for storing backups. properties: container: description: Container is the name of the container the backup is stored at. type: string prefix: description: Prefix is the prefix used for the store. type: string provider: description: Provider is the name of the backup provider. type: string secretRef: description: SecretRef is the reference to the secret which used to connect to the backup store. properties: name: description: name is unique within a namespace to reference a secret resource. type: string namespace: description: namespace defines the space within which the secret name must be unique. type: string type: object x-kubernetes-map-type: atomic required: - prefix type: object targetStore: description: TargetStore defines the specification of the target object store provider for storing backups. properties: container: description: Container is the name of the container the backup is stored at. type: string prefix: description: Prefix is the prefix used for the store. type: string provider: description: Provider is the name of the backup provider. type: string secretRef: description: SecretRef is the reference to the secret which used to connect to the backup store. properties: name: description: name is unique within a namespace to reference a secret resource. type: string namespace: description: namespace defines the space within which the secret name must be unique. type: string type: object x-kubernetes-map-type: atomic required: - prefix type: object waitForFinalSnapshot: description: WaitForFinalSnapshot defines the parameters for waiting for a final full snapshot before copying backups. properties: enabled: description: Enabled specifies whether to wait for a final full snapshot before copying backups. type: boolean timeout: description: |- Timeout is the timeout for waiting for a final full snapshot. When this timeout expires, the copying of backups will be performed anyway. No timeout or 0 means wait forever. pattern: ^(0|([0-9]+(\.[0-9]+)?(ns|us|µs|ms|s|m|h))+)$ type: string required: - enabled type: object required: - sourceStore - targetStore type: object status: description: EtcdCopyBackupsTaskStatus defines the observed state of the copy backups task. properties: conditions: description: Conditions represents the latest available observations of an object's current state. items: description: Condition holds the information about the state of a resource. properties: lastTransitionTime: description: Last time the condition transitioned from one status to another. format: date-time type: string lastUpdateTime: description: Last time the condition was updated. format: date-time type: string message: description: A human-readable message indicating details about the transition. type: string reason: description: The reason for the condition's last transition. type: string status: description: Status of the condition, one of True, False, Unknown. type: string type: description: Type of the Etcd condition. type: string required: - lastTransitionTime - lastUpdateTime - message - reason - status - type type: object type: array lastError: description: LastError represents the last occurred error. type: string observedGeneration: description: ObservedGeneration is the most recent generation observed for this resource. format: int64 type: integer type: object type: object served: true storage: true subresources: status: {}