Skip to content

Commit c007e88

Browse files
Update generated code
1 parent 5f72327 commit c007e88

3 files changed

Lines changed: 160 additions & 39 deletions

File tree

config/crd/bases/controlplane.cluster.x-k8s.io_awsmanagedcontrolplanes.yaml

Lines changed: 80 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,8 +1006,9 @@ spec:
10061006
in a Container.
10071007
properties:
10081008
name:
1009-
description: Name of the environment variable. Must be a
1010-
C_IDENTIFIER.
1009+
description: |-
1010+
Name of the environment variable.
1011+
May consist of any printable ASCII characters except '='.
10111012
type: string
10121013
value:
10131014
description: |-
@@ -1065,6 +1066,43 @@ spec:
10651066
- fieldPath
10661067
type: object
10671068
x-kubernetes-map-type: atomic
1069+
fileKeyRef:
1070+
description: |-
1071+
FileKeyRef selects a key of the env file.
1072+
Requires the EnvFiles feature gate to be enabled.
1073+
properties:
1074+
key:
1075+
description: |-
1076+
The key within the env file. An invalid key will prevent the pod from starting.
1077+
The keys defined within a source may consist of any printable ASCII characters except '='.
1078+
During Alpha stage of the EnvFiles feature gate, the key size is limited to 128 characters.
1079+
type: string
1080+
optional:
1081+
default: false
1082+
description: |-
1083+
Specify whether the file or its key must be defined. If the file or key
1084+
does not exist, then the env var is not published.
1085+
If optional is set to true and the specified key does not exist,
1086+
the environment variable will not be set in the Pod's containers.
1087+
1088+
If optional is set to false and the specified key does not exist,
1089+
an error will be returned during Pod creation.
1090+
type: boolean
1091+
path:
1092+
description: |-
1093+
The path within the volume from which to select the file.
1094+
Must be relative and may not contain the '..' path or start with '..'.
1095+
type: string
1096+
volumeName:
1097+
description: The name of the volume mount containing
1098+
the env file.
1099+
type: string
1100+
required:
1101+
- key
1102+
- path
1103+
- volumeName
1104+
type: object
1105+
x-kubernetes-map-type: atomic
10681106
resourceFieldRef:
10691107
description: |-
10701108
Selects a resource of the container: only resources limits and requests
@@ -3225,8 +3263,9 @@ spec:
32253263
in a Container.
32263264
properties:
32273265
name:
3228-
description: Name of the environment variable. Must be a
3229-
C_IDENTIFIER.
3266+
description: |-
3267+
Name of the environment variable.
3268+
May consist of any printable ASCII characters except '='.
32303269
type: string
32313270
value:
32323271
description: |-
@@ -3284,6 +3323,43 @@ spec:
32843323
- fieldPath
32853324
type: object
32863325
x-kubernetes-map-type: atomic
3326+
fileKeyRef:
3327+
description: |-
3328+
FileKeyRef selects a key of the env file.
3329+
Requires the EnvFiles feature gate to be enabled.
3330+
properties:
3331+
key:
3332+
description: |-
3333+
The key within the env file. An invalid key will prevent the pod from starting.
3334+
The keys defined within a source may consist of any printable ASCII characters except '='.
3335+
During Alpha stage of the EnvFiles feature gate, the key size is limited to 128 characters.
3336+
type: string
3337+
optional:
3338+
default: false
3339+
description: |-
3340+
Specify whether the file or its key must be defined. If the file or key
3341+
does not exist, then the env var is not published.
3342+
If optional is set to true and the specified key does not exist,
3343+
the environment variable will not be set in the Pod's containers.
3344+
3345+
If optional is set to false and the specified key does not exist,
3346+
an error will be returned during Pod creation.
3347+
type: boolean
3348+
path:
3349+
description: |-
3350+
The path within the volume from which to select the file.
3351+
Must be relative and may not contain the '..' path or start with '..'.
3352+
type: string
3353+
volumeName:
3354+
description: The name of the volume mount containing
3355+
the env file.
3356+
type: string
3357+
required:
3358+
- key
3359+
- path
3360+
- volumeName
3361+
type: object
3362+
x-kubernetes-map-type: atomic
32873363
resourceFieldRef:
32883364
description: |-
32893365
Selects a resource of the container: only resources limits and requests

config/crd/bases/controlplane.cluster.x-k8s.io_awsmanagedcontrolplanetemplates.yaml

Lines changed: 40 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1051,8 +1051,9 @@ spec:
10511051
present in a Container.
10521052
properties:
10531053
name:
1054-
description: Name of the environment variable. Must
1055-
be a C_IDENTIFIER.
1054+
description: |-
1055+
Name of the environment variable.
1056+
May consist of any printable ASCII characters except '='.
10561057
type: string
10571058
value:
10581059
description: |-
@@ -1110,6 +1111,43 @@ spec:
11101111
- fieldPath
11111112
type: object
11121113
x-kubernetes-map-type: atomic
1114+
fileKeyRef:
1115+
description: |-
1116+
FileKeyRef selects a key of the env file.
1117+
Requires the EnvFiles feature gate to be enabled.
1118+
properties:
1119+
key:
1120+
description: |-
1121+
The key within the env file. An invalid key will prevent the pod from starting.
1122+
The keys defined within a source may consist of any printable ASCII characters except '='.
1123+
During Alpha stage of the EnvFiles feature gate, the key size is limited to 128 characters.
1124+
type: string
1125+
optional:
1126+
default: false
1127+
description: |-
1128+
Specify whether the file or its key must be defined. If the file or key
1129+
does not exist, then the env var is not published.
1130+
If optional is set to true and the specified key does not exist,
1131+
the environment variable will not be set in the Pod's containers.
1132+
1133+
If optional is set to false and the specified key does not exist,
1134+
an error will be returned during Pod creation.
1135+
type: boolean
1136+
path:
1137+
description: |-
1138+
The path within the volume from which to select the file.
1139+
Must be relative and may not contain the '..' path or start with '..'.
1140+
type: string
1141+
volumeName:
1142+
description: The name of the volume mount
1143+
containing the env file.
1144+
type: string
1145+
required:
1146+
- key
1147+
- path
1148+
- volumeName
1149+
type: object
1150+
x-kubernetes-map-type: atomic
11131151
resourceFieldRef:
11141152
description: |-
11151153
Selects a resource of the container: only resources limits and requests

pkg/cloud/endpoints/partitions.go

Lines changed: 40 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)