@@ -84,7 +84,109 @@ spec:
8484 type : array
8585 env :
8686 additionalProperties :
87- type : string
87+ description : EnvVarCfg allows specifying either a literal value
88+ or a reference to a source for the environment variable.
89+ properties :
90+ value :
91+ description : |-
92+ Value contains the value for the environment variable.
93+ Defaults to "" if not set.
94+ type : string
95+ valueFrom :
96+ description : ValueFrom specifies a source the value of this
97+ EnvVar to come from.
98+ properties :
99+ configMapKeyRef :
100+ description : Selects a key of a ConfigMap.
101+ properties :
102+ key :
103+ description : The key to select.
104+ type : string
105+ name :
106+ default : " "
107+ description : |-
108+ Name of the referent.
109+ This field is effectively required, but due to backwards compatibility is
110+ allowed to be empty. Instances of this type with an empty value here are
111+ almost certainly wrong.
112+ More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
113+ type : string
114+ optional :
115+ description : Specify whether the ConfigMap or its
116+ key must be defined
117+ type : boolean
118+ required :
119+ - key
120+ type : object
121+ x-kubernetes-map-type : atomic
122+ fieldRef :
123+ description : |-
124+ Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`,
125+ spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
126+ properties :
127+ apiVersion :
128+ description : Version of the schema the FieldPath
129+ is written in terms of, defaults to "v1".
130+ type : string
131+ fieldPath :
132+ description : Path of the field to select in the
133+ specified API version.
134+ type : string
135+ required :
136+ - fieldPath
137+ type : object
138+ x-kubernetes-map-type : atomic
139+ resourceFieldRef :
140+ description : |-
141+ Selects a resource of the container: only resources limits and requests
142+ (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
143+ properties :
144+ containerName :
145+ description : ' Container name: required for volumes,
146+ optional for env vars'
147+ type : string
148+ divisor :
149+ anyOf :
150+ - type : integer
151+ - type : string
152+ description : Specifies the output format of the
153+ exposed resources, defaults to "1"
154+ pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
155+ x-kubernetes-int-or-string : true
156+ resource :
157+ description : ' Required: resource to select'
158+ type : string
159+ required :
160+ - resource
161+ type : object
162+ x-kubernetes-map-type : atomic
163+ secretKeyRef :
164+ description : Selects a key of a secret in the pod's
165+ namespace
166+ properties :
167+ key :
168+ description : The key of the secret to select from. Must
169+ be a valid secret key.
170+ type : string
171+ name :
172+ default : " "
173+ description : |-
174+ Name of the referent.
175+ This field is effectively required, but due to backwards compatibility is
176+ allowed to be empty. Instances of this type with an empty value here are
177+ almost certainly wrong.
178+ More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
179+ type : string
180+ optional :
181+ description : Specify whether the Secret or its key
182+ must be defined
183+ type : boolean
184+ required :
185+ - key
186+ type : object
187+ x-kubernetes-map-type : atomic
188+ type : object
189+ type : object
88190 description : Env defines the environment variables to set in the
89191 container.
90192 type : object
0 commit comments