Skip to content

Commit de320fd

Browse files
fcanovaileonardoce
authored andcommitted
fix: update manifest
Signed-off-by: Francesco Canovai <[email protected]>
1 parent b038e2e commit de320fd

File tree

1 file changed

+123
-0
lines changed

1 file changed

+123
-0
lines changed

config/crd/bases/barmancloud.cnpg.io_objectstores.yaml

Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,13 +389,136 @@ spec:
389389
maximum: 3600
390390
minimum: 0
391391
type: integer
392+
env:
393+
description: The environment to be explicitely passed to the sidecar
394+
items:
395+
description: EnvVar represents an environment variable present
396+
in a Container.
397+
properties:
398+
name:
399+
description: Name of the environment variable. Must be a
400+
C_IDENTIFIER.
401+
type: string
402+
value:
403+
description: |-
404+
Variable references $(VAR_NAME) are expanded
405+
using the previously defined environment variables in the container and
406+
any service environment variables. If a variable cannot be resolved,
407+
the reference in the input string will be unchanged. Double $$ are reduced
408+
to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.
409+
"$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)".
410+
Escaped references will never be expanded, regardless of whether the variable
411+
exists or not.
412+
Defaults to "".
413+
type: string
414+
valueFrom:
415+
description: Source for the environment variable's value.
416+
Cannot be used if value is not empty.
417+
properties:
418+
configMapKeyRef:
419+
description: Selects a key of a ConfigMap.
420+
properties:
421+
key:
422+
description: The key to select.
423+
type: string
424+
name:
425+
default: ""
426+
description: |-
427+
Name of the referent.
428+
This field is effectively required, but due to backwards compatibility is
429+
allowed to be empty. Instances of this type with an empty value here are
430+
almost certainly wrong.
431+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
432+
type: string
433+
optional:
434+
description: Specify whether the ConfigMap or its
435+
key must be defined
436+
type: boolean
437+
required:
438+
- key
439+
type: object
440+
x-kubernetes-map-type: atomic
441+
fieldRef:
442+
description: |-
443+
Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`,
444+
spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
445+
properties:
446+
apiVersion:
447+
description: Version of the schema the FieldPath
448+
is written in terms of, defaults to "v1".
449+
type: string
450+
fieldPath:
451+
description: Path of the field to select in the
452+
specified API version.
453+
type: string
454+
required:
455+
- fieldPath
456+
type: object
457+
x-kubernetes-map-type: atomic
458+
resourceFieldRef:
459+
description: |-
460+
Selects a resource of the container: only resources limits and requests
461+
(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
462+
properties:
463+
containerName:
464+
description: 'Container name: required for volumes,
465+
optional for env vars'
466+
type: string
467+
divisor:
468+
anyOf:
469+
- type: integer
470+
- type: string
471+
description: Specifies the output format of the
472+
exposed resources, defaults to "1"
473+
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
474+
x-kubernetes-int-or-string: true
475+
resource:
476+
description: 'Required: resource to select'
477+
type: string
478+
required:
479+
- resource
480+
type: object
481+
x-kubernetes-map-type: atomic
482+
secretKeyRef:
483+
description: Selects a key of a secret in the pod's
484+
namespace
485+
properties:
486+
key:
487+
description: The key of the secret to select from. Must
488+
be a valid secret key.
489+
type: string
490+
name:
491+
default: ""
492+
description: |-
493+
Name of the referent.
494+
This field is effectively required, but due to backwards compatibility is
495+
allowed to be empty. Instances of this type with an empty value here are
496+
almost certainly wrong.
497+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
498+
type: string
499+
optional:
500+
description: Specify whether the Secret or its key
501+
must be defined
502+
type: boolean
503+
required:
504+
- key
505+
type: object
506+
x-kubernetes-map-type: atomic
507+
type: object
508+
required:
509+
- name
510+
type: object
511+
type: array
392512
type: object
393513
required:
394514
- configuration
395515
type: object
396516
status:
397517
description: ObjectStoreStatus defines the observed state of ObjectStore.
398518
type: object
519+
required:
520+
- metadata
521+
- spec
399522
type: object
400523
served: true
401524
storage: true

0 commit comments

Comments
 (0)