@@ -68,8 +68,121 @@ spec:
68
68
type : string
69
69
description : |-
70
70
ConfigFiles Additional configuration, as Key/Value pairs, that will be mounted as files with the /config
71
- directory on the pod. The key should be the file name and the value should be it's content.
71
+ directory on the pod. The key should be the file name and the value should be its content.
72
72
type : object
73
+ env :
74
+ description : Env Environment Variable to set in the benthos pipeline
75
+ pod.
76
+ items :
77
+ description : EnvVar represents an environment variable present in
78
+ a Container.
79
+ properties :
80
+ name :
81
+ description : Name of the environment variable. Must be a C_IDENTIFIER.
82
+ type : string
83
+ value :
84
+ description : |-
85
+ Variable references $(VAR_NAME) are expanded
86
+ using the previously defined environment variables in the container and
87
+ any service environment variables. If a variable cannot be resolved,
88
+ the reference in the input string will be unchanged. Double $$ are reduced
89
+ to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.
90
+ "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)".
91
+ Escaped references will never be expanded, regardless of whether the variable
92
+ exists or not.
93
+ Defaults to "".
94
+ type : string
95
+ valueFrom :
96
+ description : Source for the environment variable's value. Cannot
97
+ be used if value is not empty.
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
+ description : |-
107
+ Name of the referent.
108
+ More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
109
+ TODO: Add other useful fields. apiVersion, kind, uid?
110
+ type : string
111
+ optional :
112
+ description : Specify whether the ConfigMap or its key
113
+ must be defined
114
+ type : boolean
115
+ required :
116
+ - key
117
+ type : object
118
+ x-kubernetes-map-type : atomic
119
+ fieldRef :
120
+ description : |-
121
+ Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`,
122
+ spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
123
+ properties :
124
+ apiVersion :
125
+ description : Version of the schema the FieldPath is
126
+ written in terms of, defaults to "v1".
127
+ type : string
128
+ fieldPath :
129
+ description : Path of the field to select in the specified
130
+ API version.
131
+ type : string
132
+ required :
133
+ - fieldPath
134
+ type : object
135
+ x-kubernetes-map-type : atomic
136
+ resourceFieldRef :
137
+ description : |-
138
+ Selects a resource of the container: only resources limits and requests
139
+ (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
140
+ properties :
141
+ containerName :
142
+ description : ' Container name: required for volumes,
143
+ optional for env vars'
144
+ type : string
145
+ divisor :
146
+ anyOf :
147
+ - type : integer
148
+ - type : string
149
+ description : Specifies the output format of the exposed
150
+ resources, defaults to "1"
151
+ pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
152
+ x-kubernetes-int-or-string : true
153
+ resource :
154
+ description : ' Required: resource to select'
155
+ type : string
156
+ required :
157
+ - resource
158
+ type : object
159
+ x-kubernetes-map-type : atomic
160
+ secretKeyRef :
161
+ description : Selects a key of a secret in the pod's namespace
162
+ properties :
163
+ key :
164
+ description : The key of the secret to select from. Must
165
+ be a valid secret key.
166
+ type : string
167
+ name :
168
+ description : |-
169
+ Name of the referent.
170
+ More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
171
+ TODO: Add other useful fields. apiVersion, kind, uid?
172
+ type : string
173
+ optional :
174
+ description : Specify whether the Secret or its key must
175
+ be defined
176
+ type : boolean
177
+ required :
178
+ - key
179
+ type : object
180
+ x-kubernetes-map-type : atomic
181
+ type : object
182
+ required :
183
+ - name
184
+ type : object
185
+ type : array
73
186
image :
74
187
description : Image defines the image and tag to use for the Benthos
75
188
deployment.
0 commit comments