Skip to content

Commit 5206665

Browse files
committed
chore: update manifests
Signed-off-by: Marco Nenciarini <[email protected]>
1 parent 69bef4a commit 5206665

File tree

2 files changed

+82
-6
lines changed

2 files changed

+82
-6
lines changed

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

Lines changed: 41 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -406,8 +406,9 @@ spec:
406406
in a Container.
407407
properties:
408408
name:
409-
description: Name of the environment variable. Must be a
410-
C_IDENTIFIER.
409+
description: |-
410+
Name of the environment variable.
411+
May consist of any printable ASCII characters except '='.
411412
type: string
412413
value:
413414
description: |-
@@ -465,6 +466,43 @@ spec:
465466
- fieldPath
466467
type: object
467468
x-kubernetes-map-type: atomic
469+
fileKeyRef:
470+
description: |-
471+
FileKeyRef selects a key of the env file.
472+
Requires the EnvFiles feature gate to be enabled.
473+
properties:
474+
key:
475+
description: |-
476+
The key within the env file. An invalid key will prevent the pod from starting.
477+
The keys defined within a source may consist of any printable ASCII characters except '='.
478+
During Alpha stage of the EnvFiles feature gate, the key size is limited to 128 characters.
479+
type: string
480+
optional:
481+
default: false
482+
description: |-
483+
Specify whether the file or its key must be defined. If the file or key
484+
does not exist, then the env var is not published.
485+
If optional is set to true and the specified key does not exist,
486+
the environment variable will not be set in the Pod's containers.
487+
488+
If optional is set to false and the specified key does not exist,
489+
an error will be returned during Pod creation.
490+
type: boolean
491+
path:
492+
description: |-
493+
The path within the volume from which to select the file.
494+
Must be relative and may not contain the '..' path or start with '..'.
495+
type: string
496+
volumeName:
497+
description: The name of the volume mount containing
498+
the env file.
499+
type: string
500+
required:
501+
- key
502+
- path
503+
- volumeName
504+
type: object
505+
x-kubernetes-map-type: atomic
468506
resourceFieldRef:
469507
description: |-
470508
Selects a resource of the container: only resources limits and requests
@@ -528,7 +566,7 @@ spec:
528566
Claims lists the names of resources, defined in spec.resourceClaims,
529567
that are used by this container.
530568
531-
This is an alpha field and requires enabling the
569+
This field depends on the
532570
DynamicResourceAllocation feature gate.
533571
534572
This field is immutable. It can only be set for containers.

manifest.yaml

Lines changed: 41 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -405,8 +405,9 @@ spec:
405405
in a Container.
406406
properties:
407407
name:
408-
description: Name of the environment variable. Must be a
409-
C_IDENTIFIER.
408+
description: |-
409+
Name of the environment variable.
410+
May consist of any printable ASCII characters except '='.
410411
type: string
411412
value:
412413
description: |-
@@ -464,6 +465,43 @@ spec:
464465
- fieldPath
465466
type: object
466467
x-kubernetes-map-type: atomic
468+
fileKeyRef:
469+
description: |-
470+
FileKeyRef selects a key of the env file.
471+
Requires the EnvFiles feature gate to be enabled.
472+
properties:
473+
key:
474+
description: |-
475+
The key within the env file. An invalid key will prevent the pod from starting.
476+
The keys defined within a source may consist of any printable ASCII characters except '='.
477+
During Alpha stage of the EnvFiles feature gate, the key size is limited to 128 characters.
478+
type: string
479+
optional:
480+
default: false
481+
description: |-
482+
Specify whether the file or its key must be defined. If the file or key
483+
does not exist, then the env var is not published.
484+
If optional is set to true and the specified key does not exist,
485+
the environment variable will not be set in the Pod's containers.
486+
487+
If optional is set to false and the specified key does not exist,
488+
an error will be returned during Pod creation.
489+
type: boolean
490+
path:
491+
description: |-
492+
The path within the volume from which to select the file.
493+
Must be relative and may not contain the '..' path or start with '..'.
494+
type: string
495+
volumeName:
496+
description: The name of the volume mount containing
497+
the env file.
498+
type: string
499+
required:
500+
- key
501+
- path
502+
- volumeName
503+
type: object
504+
x-kubernetes-map-type: atomic
467505
resourceFieldRef:
468506
description: |-
469507
Selects a resource of the container: only resources limits and requests
@@ -527,7 +565,7 @@ spec:
527565
Claims lists the names of resources, defined in spec.resourceClaims,
528566
that are used by this container.
529567
530-
This is an alpha field and requires enabling the
568+
This field depends on the
531569
DynamicResourceAllocation feature gate.
532570
533571
This field is immutable. It can only be set for containers.

0 commit comments

Comments
 (0)