@@ -619,8 +619,8 @@ spec:
619619 most preferred is the one with the greatest sum of weights, i.e.
620620 for each node that meets all of the scheduling requirements (resource
621621 request, requiredDuringScheduling anti-affinity expressions, etc.),
622- compute a sum by iterating through the elements of this field and adding
623- "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
622+ compute a sum by iterating through the elements of this field and subtracting
623+ "weight" from the sum if the node has pods which matches the corresponding podAffinityTerm; the
624624 node(s) with the highest sum are the most preferred.
625625 items :
626626 description : The weights of all of the matched WeightedPodAffinityTerm
@@ -978,7 +978,9 @@ spec:
978978 a Container.
979979 properties :
980980 name :
981- description : Name of the environment variable. Must be a C_IDENTIFIER.
981+ description : |-
982+ Name of the environment variable.
983+ May consist of any printable ASCII characters except '='.
982984 type : string
983985 value :
984986 description : |-
@@ -1036,6 +1038,43 @@ spec:
10361038 - fieldPath
10371039 type : object
10381040 x-kubernetes-map-type : atomic
1041+ fileKeyRef :
1042+ description : |-
1043+ FileKeyRef selects a key of the env file.
1044+ Requires the EnvFiles feature gate to be enabled.
1045+ properties :
1046+ key :
1047+ description : |-
1048+ The key within the env file. An invalid key will prevent the pod from starting.
1049+ The keys defined within a source may consist of any printable ASCII characters except '='.
1050+ During Alpha stage of the EnvFiles feature gate, the key size is limited to 128 characters.
1051+ type : string
1052+ optional :
1053+ default : false
1054+ description : |-
1055+ Specify whether the file or its key must be defined. If the file or key
1056+ does not exist, then the env var is not published.
1057+ If optional is set to true and the specified key does not exist,
1058+ the environment variable will not be set in the Pod's containers.
1059+
1060+ If optional is set to false and the specified key does not exist,
1061+ an error will be returned during Pod creation.
1062+ type : boolean
1063+ path :
1064+ description : |-
1065+ The path within the volume from which to select the file.
1066+ Must be relative and may not contain the '..' path or start with '..'.
1067+ type : string
1068+ volumeName :
1069+ description : The name of the volume mount containing
1070+ the env file.
1071+ type : string
1072+ required :
1073+ - key
1074+ - path
1075+ - volumeName
1076+ type : object
1077+ x-kubernetes-map-type : atomic
10391078 resourceFieldRef :
10401079 description : |-
10411080 Selects a resource of the container: only resources limits and requests
@@ -1791,7 +1830,9 @@ spec:
17911830 a Container.
17921831 properties :
17931832 name :
1794- description : Name of the environment variable. Must be a C_IDENTIFIER.
1833+ description : |-
1834+ Name of the environment variable.
1835+ May consist of any printable ASCII characters except '='.
17951836 type : string
17961837 value :
17971838 description : |-
@@ -1849,6 +1890,43 @@ spec:
18491890 - fieldPath
18501891 type : object
18511892 x-kubernetes-map-type : atomic
1893+ fileKeyRef :
1894+ description : |-
1895+ FileKeyRef selects a key of the env file.
1896+ Requires the EnvFiles feature gate to be enabled.
1897+ properties :
1898+ key :
1899+ description : |-
1900+ The key within the env file. An invalid key will prevent the pod from starting.
1901+ The keys defined within a source may consist of any printable ASCII characters except '='.
1902+ During Alpha stage of the EnvFiles feature gate, the key size is limited to 128 characters.
1903+ type : string
1904+ optional :
1905+ default : false
1906+ description : |-
1907+ Specify whether the file or its key must be defined. If the file or key
1908+ does not exist, then the env var is not published.
1909+ If optional is set to true and the specified key does not exist,
1910+ the environment variable will not be set in the Pod's containers.
1911+
1912+ If optional is set to false and the specified key does not exist,
1913+ an error will be returned during Pod creation.
1914+ type : boolean
1915+ path :
1916+ description : |-
1917+ The path within the volume from which to select the file.
1918+ Must be relative and may not contain the '..' path or start with '..'.
1919+ type : string
1920+ volumeName :
1921+ description : The name of the volume mount containing
1922+ the env file.
1923+ type : string
1924+ required :
1925+ - key
1926+ - path
1927+ - volumeName
1928+ type : object
1929+ x-kubernetes-map-type : atomic
18521930 resourceFieldRef :
18531931 description : |-
18541932 Selects a resource of the container: only resources limits and requests
0 commit comments