@@ -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
0 commit comments