forked from gardener/gardener
/
10-crd-druid.gardener.cloud_etcdcopybackupstasks.yaml
192 lines (192 loc) · 8.02 KB
/
10-crd-druid.gardener.cloud_etcdcopybackupstasks.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.11.1
creationTimestamp: null
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
type: integer
maxBackups:
description: MaxBackups is the maximum number of backups that will
be copied starting with the most recent ones.
format: int32
type: integer
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.
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: {}