You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bundle/manifests/oadp.openshift.io_dataprotectionapplications.yaml
+181-1Lines changed: 181 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -149,8 +149,185 @@ spec:
149
149
configuration:
150
150
description: configuration is used to configure the data protection application's server config
151
151
properties:
152
+
nodeagentconfig:
153
+
description: NodeAgent is needed to allow selection between kopia or restic
154
+
properties:
155
+
enable:
156
+
description: enable defines a boolean pointer whether we want the daemonset to exist or not
157
+
type: boolean
158
+
podConfig:
159
+
description: Pod specific configuration
160
+
properties:
161
+
env:
162
+
description: env defines the list of environment variables to be supplied to podSpec
163
+
items:
164
+
description: EnvVar represents an environment variable present in a Container.
165
+
properties:
166
+
name:
167
+
description: Name of the environment variable. Must be a C_IDENTIFIER.
168
+
type: string
169
+
value:
170
+
description: 'Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "".'
171
+
type: string
172
+
valueFrom:
173
+
description: Source for the environment variable's value. Cannot be used if value is not empty.
174
+
properties:
175
+
configMapKeyRef:
176
+
description: Selects a key of a ConfigMap.
177
+
properties:
178
+
key:
179
+
description: The key to select.
180
+
type: string
181
+
name:
182
+
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
183
+
type: string
184
+
optional:
185
+
description: Specify whether the ConfigMap or its key must be defined
186
+
type: boolean
187
+
required:
188
+
- key
189
+
type: object
190
+
fieldRef:
191
+
description: 'Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels[''<KEY>'']`, `metadata.annotations[''<KEY>'']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.'
192
+
properties:
193
+
apiVersion:
194
+
description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
195
+
type: string
196
+
fieldPath:
197
+
description: Path of the field to select in the specified API version.
198
+
type: string
199
+
required:
200
+
- fieldPath
201
+
type: object
202
+
resourceFieldRef:
203
+
description: 'Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.'
204
+
properties:
205
+
containerName:
206
+
description: 'Container name: required for volumes, optional for env vars'
207
+
type: string
208
+
divisor:
209
+
anyOf:
210
+
- type: integer
211
+
- type: string
212
+
description: Specifies the output format of the exposed resources, defaults to "1"
description: Selects a key of a secret in the pod's namespace
223
+
properties:
224
+
key:
225
+
description: The key of the secret to select from. Must be a valid secret key.
226
+
type: string
227
+
name:
228
+
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
229
+
type: string
230
+
optional:
231
+
description: Specify whether the Secret or its key must be defined
232
+
type: boolean
233
+
required:
234
+
- key
235
+
type: object
236
+
type: object
237
+
required:
238
+
- name
239
+
type: object
240
+
type: array
241
+
labels:
242
+
additionalProperties:
243
+
type: string
244
+
description: labels to add to pods
245
+
type: object
246
+
nodeSelector:
247
+
additionalProperties:
248
+
type: string
249
+
description: nodeSelector defines the nodeSelector to be supplied to Restic podSpec
250
+
type: object
251
+
resourceAllocations:
252
+
description: resourceAllocations defines the CPU and Memory resource allocations for the restic Pod
253
+
nullable: true
254
+
properties:
255
+
claims:
256
+
description: "Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. \n This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. \n This field is immutable."
257
+
items:
258
+
description: ResourceClaim references one entry in PodSpec.ResourceClaims.
259
+
properties:
260
+
name:
261
+
description: Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container.
description: 'Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
287
+
type: object
288
+
type: object
289
+
tolerations:
290
+
description: tolerations defines the list of tolerations to be applied to Restic daemonset
291
+
items:
292
+
description: The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.
293
+
properties:
294
+
effect:
295
+
description: Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
296
+
type: string
297
+
key:
298
+
description: Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
299
+
type: string
300
+
operator:
301
+
description: Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.
302
+
type: string
303
+
tolerationSeconds:
304
+
description: TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
305
+
format: int64
306
+
type: integer
307
+
value:
308
+
description: Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
309
+
type: string
310
+
type: object
311
+
type: array
312
+
type: object
313
+
supplementalGroups:
314
+
description: supplementalGroups defines the linux groups to be applied to the Restic Pod
315
+
items:
316
+
format: int64
317
+
type: integer
318
+
type: array
319
+
timeout:
320
+
description: timeout defines the Restic timeout, default value is 1h
321
+
type: string
322
+
uploaderType:
323
+
description: The type of uploader to transfer the data of pod volumes, the supported values are 'restic' or 'kopia'
324
+
enum:
325
+
- restic
326
+
- kopia
327
+
type: string
328
+
type: object
152
329
restic:
153
-
description: ResticConfig is the configuration for restic server
330
+
description: (deprecation warning) ResticConfig is the configuration for restic server. Restic is for backwards compatibility and will be replaced by nodeagentconfig with the OADP 1.4+
154
331
properties:
155
332
enable:
156
333
description: enable defines a boolean pointer whether we want the daemonset to exist or not
@@ -455,6 +632,9 @@ spec:
455
632
description: How long to wait on persistent volumes and namespaces to terminate during a restore before timing out.
456
633
format: int64
457
634
type: integer
635
+
uploader-type:
636
+
description: The type of uploader to transfer the data of pod volumes, the supported values are 'restic', 'kopia' (default "restic")
0 commit comments