@@ -46,11 +46,109 @@ spec:
4646 properties :
4747 envs :
4848 items :
49+ description : EnvVar represents an environment variable present
50+ in a Container.
4951 properties :
5052 name :
53+ description : Name of the environment variable. Must be a
54+ C_IDENTIFIER.
5155 type : string
5256 value :
57+ description : ' Variable references $(VAR_NAME) are expanded
58+ using the previously defined environment variables in
59+ the container and any service environment variables. If
60+ a variable cannot be resolved, the reference in the input
61+ string will be unchanged. Double $$ are reduced to a single
62+ $, which allows for escaping the $(VAR_NAME) syntax: i.e.
63+ "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)".
64+ Escaped references will never be expanded, regardless
65+ of whether the variable exists or not. Defaults to "".'
5366 type : string
67+ valueFrom :
68+ description : Source for the environment variable's value.
69+ Cannot be used if value is not empty.
70+ properties :
71+ configMapKeyRef :
72+ description : Selects a key of a ConfigMap.
73+ properties :
74+ key :
75+ description : The key to select.
76+ type : string
77+ name :
78+ description : ' Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
79+ TODO: Add other useful fields. apiVersion, kind,
80+ uid?'
81+ type : string
82+ optional :
83+ description : Specify whether the ConfigMap or its
84+ key must be defined
85+ type : boolean
86+ required :
87+ - key
88+ type : object
89+ fieldRef :
90+ description : ' Selects a field of the pod: supports metadata.name,
91+ metadata.namespace, `metadata.labels['' <KEY>'' ]`,
92+ `metadata.annotations['' <KEY>'' ]`, spec.nodeName,
93+ spec.serviceAccountName, status.hostIP, status.podIP,
94+ status.podIPs.'
95+ properties :
96+ apiVersion :
97+ description : Version of the schema the FieldPath
98+ is written in terms of, defaults to "v1".
99+ type : string
100+ fieldPath :
101+ description : Path of the field to select in the
102+ specified API version.
103+ type : string
104+ required :
105+ - fieldPath
106+ type : object
107+ resourceFieldRef :
108+ description : ' Selects a resource of the container: only
109+ resources limits and requests (limits.cpu, limits.memory,
110+ limits.ephemeral-storage, requests.cpu, requests.memory
111+ and requests.ephemeral-storage) are currently supported.'
112+ properties :
113+ containerName :
114+ description : ' Container name: required for volumes,
115+ optional for env vars'
116+ type : string
117+ divisor :
118+ anyOf :
119+ - type : integer
120+ - type : string
121+ description : Specifies the output format of the
122+ exposed resources, defaults to "1"
123+ pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
124+ x-kubernetes-int-or-string : true
125+ resource :
126+ description : ' Required: resource to select'
127+ type : string
128+ required :
129+ - resource
130+ type : object
131+ secretKeyRef :
132+ description : Selects a key of a secret in the pod's
133+ namespace
134+ properties :
135+ key :
136+ description : The key of the secret to select from. Must
137+ be a valid secret key.
138+ type : string
139+ name :
140+ description : ' Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
141+ TODO: Add other useful fields. apiVersion, kind,
142+ uid?'
143+ type : string
144+ optional :
145+ description : Specify whether the Secret or its key
146+ must be defined
147+ type : boolean
148+ required :
149+ - key
150+ type : object
151+ type : object
54152 required :
55153 - name
56154 type : object
0 commit comments