@@ -212,6 +212,58 @@ properties:
212
212
the `--values` or `-f` flag. During merging, lists are replaced while
213
213
dictionaries are updated.
214
214
```
215
+ extraFiles : &extraFiles
216
+ type : string
217
+ description : |
218
+ A dictionary with extra files that should be injected into the pod's
219
+ container.
220
+
221
+ ```yaml
222
+ hub:
223
+ extraFiles:
224
+ <implicit file name>:
225
+ # name is an optional way to override the implicit file name
226
+ # that must be unique.
227
+ name: <explicit file name>
228
+
229
+ # mode is by default 0644 and you can optionally override it
230
+ # either by octal notation (example: 0400) or decimal notation
231
+ # (example: 256).
232
+ mode: <file system permissions>
233
+
234
+ # mountPath is required and must be the directory you want to
235
+ # mount the file.
236
+ mountPath: <directory path>
237
+
238
+ # Choose one out of the three ways to represent the actual file
239
+ # content: data, stringData, or binaryData.
240
+ #
241
+ # Both stringData and binaryData should be set to a string
242
+ # representing the content, where binaryData should be the
243
+ # base64 encoding of the actual file content.
244
+ #
245
+ # data should be set to a mapping (dictionary). It will in the
246
+ # end be rendered to either YAML, JSON, or TOML based on the
247
+ # filename extension that are required to be either .yaml, .yml,
248
+ # .json, or .toml.
249
+ #
250
+ # If your content is YAML, JSON, or TOML, it can be useful to
251
+ # use data over stringData, because then you can update parts of
252
+ # the files content from different files as compared to opting
253
+ # for one or another string.
254
+ #
255
+ binaryData: aGVsbG8gd29ybGQhCg==
256
+ stringData: |
257
+ hello world!
258
+ data:
259
+ config:
260
+ map:
261
+ number: 123
262
+ string: "hi"
263
+ list:
264
+ - 1
265
+ - 2
266
+ ```
215
267
baseUrl :
216
268
type : string
217
269
description : |
@@ -1158,6 +1210,7 @@ properties:
1158
1210
description : |
1159
1211
Deprecated and no longer does anything. Use the user-scheduler instead
1160
1212
in order to accomplish a good packing of the user pods.
1213
+ extraFiles : *extraFiles
1161
1214
extraEnv :
1162
1215
type : object
1163
1216
description : |
0 commit comments