@@ -182,6 +182,168 @@ There are several templaters that can be selected by the <code>--templater</code
182182The resource specification supports the following blob input types, specified
183183with the field <code >type</code > in the <code >input</code > field:
184184
185+ - Input type <code >Dir</code >
186+
187+ The path must denote a directory relative to the resources file, which is packed
188+ with tar and optionally compressed
189+ if the <code >compress</code > field is set to <code >true</code >. If the field
190+ <code >preserveDir</code > is set to true the directory itself is added to the tar.
191+ If the field <code >followSymLinks</code > is set to <code >true</code >, symbolic
192+ links are not packed but their targets files or folders.
193+ With the list fields <code >includeFiles</code > and <code >excludeFiles</code > it is
194+ possible to specify which files should be included or excluded. The values are
195+ regular expression used to match relative file paths. If no includes are specified
196+ all file not explicitly excluded are used.
197+
198+ This blob type specification supports the following fields:
199+ - ** <code >path</code >** * string*
200+
201+ This REQUIRED property describes the file path to directory relative to the
202+ resource file location.
203+
204+ - ** <code >mediaType</code >** * string*
205+
206+ This OPTIONAL property describes the media type to store with the local blob.
207+ The default media type is application/x-tar and
208+ application/gzip if compression is enabled.
209+
210+ - ** <code >compress</code >** * bool*
211+
212+ This OPTIONAL property describes whether the file content should be stored
213+ compressed or not.
214+
215+ - ** <code >preserveDir</code >** * bool*
216+
217+ This OPTIONAL property describes whether the specified directory with its
218+ basename should be included as top level folder.
219+
220+ - ** <code >followSymlinks</code >** * bool*
221+
222+ This OPTIONAL property describes whether symbolic links should be followed or
223+ included as links.
224+
225+ - ** <code >excludeFiles</code >** * list of regex*
226+
227+ This OPTIONAL property describes regular expressions used to match files
228+ that should NOT be included in the tar file. It takes precedence over
229+ the include match.
230+
231+ - ** <code >includeFiles</code >** * list of regex*
232+
233+ This OPTIONAL property describes regular expressions used to match files
234+ that should be included in the tar file. If this option is not given
235+ all files not explicitly excluded are used.
236+
237+ Options used to configure fields: <code >--inputCompress</code >, <code >--inputExcludes</code >, <code >--inputFollowSymlinks</code >, <code >--inputIncludes</code >, <code >--inputPath</code >, <code >--inputPreserveDir</code >, <code >--mediaType</code >
238+
239+ - Input type <code >File</code >
240+
241+ The path must denote a file relative the resources file.
242+ The content is compressed if the <code >compress</code > field
243+ is set to <code >true</code >.
244+
245+ This blob type specification supports the following fields:
246+ - ** <code >path</code >** * string*
247+
248+ This REQUIRED property describes the path to the file relative to the
249+ resource file location.
250+
251+ - ** <code >mediaType</code >** * string*
252+
253+ This OPTIONAL property describes the media type to store with the local blob.
254+ The default media type is application/octet-stream and
255+ application/gzip if compression is enabled.
256+
257+ - ** <code >compress</code >** * bool*
258+
259+ This OPTIONAL property describes whether the content should be stored
260+ compressed or not.
261+
262+ Options used to configure fields: <code >--inputCompress</code >, <code >--inputPath</code >, <code >--mediaType</code >
263+
264+ - Input type <code >Helm</code >
265+
266+ The path must denote an helm chart archive or directory
267+ relative to the resources file or a chart name in a helm chart repository.
268+ The denoted chart is packed as an OCI artifact set.
269+ For the filesystem version additional provider info is taken from a file with
270+ the same name and the suffix <code >.prov</code >.
271+
272+ If the chart should just be stored as plain archive, please use the
273+ type <code >file</code > or <code >dir</code >, instead.
274+
275+ This blob type specification supports the following fields:
276+ - ** <code >path</code >** * string*
277+
278+ This REQUIRED property describes the file path to the helm chart relative to the
279+ resource file location.
280+
281+ - ** <code >version</code >** * string*
282+
283+ This OPTIONAL property can be set to configure an explicit version hint.
284+ If not specified the version from the chart will be used.
285+ Basically, it is a good practice to use the component version for local resources
286+ This can be achieved by using templating for this attribute in the resource file.
287+
288+ - ** <code >helmRepository</code >** * string*
289+
290+ This OPTIONAL property can be set, if the helm chart should be loaded from
291+ a helm repository instead of the local filesystem. It describes
292+ the base URL of the chart repository. If specified, the <code >path</code > field
293+ must describe the name of the chart in the chart repository, and <code >version</code >
294+ must describe the version of the chart imported from the chart repository
295+
296+ - ** <code >repository</code >** * string*
297+
298+ This OPTIONAL property can be used to specify the repository hint for the
299+ generated local artifact access. It is prefixed by the component name if
300+ it does not start with slash "/".
301+
302+ - ** <code >caCertFile</code >** * string*
303+
304+ This OPTIONAL property can be used to specify a relative filename for
305+ the TLS root certificate used to access a helm repository.
306+
307+ - ** <code >caCert</code >** * string*
308+
309+ This OPTIONAL property can be used to specify a TLS root certificate used to
310+ access a helm repository.
311+
312+ Options used to configure fields: <code >--hint</code >, <code >--inputCompress</code >, <code >--inputHelmRepository</code >, <code >--inputPath</code >, <code >--inputVersion</code >, <code >--mediaType</code >
313+
314+ - Input type <code >UTF8</code >
315+
316+ This blob type is used to provide inline text based content (UTF8). The
317+ specification supports the following fields:
318+ - ** <code >text</code >** * string*
319+
320+ The utf8 string content to provide.
321+
322+ - ** <code >json</code >** * JSON or JSON string interpreted as JSON*
323+
324+ The content emitted as JSON.
325+
326+ - ** <code >formattedJson</code >** * YAML/JSON or JSON/YAML string interpreted as JSON*
327+
328+ The content emitted as formatted JSON.
329+
330+ - ** <code >yaml</code >** * AML/JSON or JSON/YAML string interpreted as YAML*
331+
332+ The content emitted as YAML.
333+
334+ - ** <code >mediaType</code >** * string*
335+
336+ This OPTIONAL property describes the media type to store with the local blob.
337+ The default media type is application/octet-stream and
338+ application/gzip if compression is enabled.
339+
340+ - ** <code >compress</code >** * bool*
341+
342+ This OPTIONAL property describes whether the content should be stored
343+ compressed or not.
344+
345+ Options used to configure fields: <code >--inputCompress</code >, <code >--inputFormattedJson</code >, <code >--inputJson</code >, <code >--inputText</code >, <code >--inputYaml</code >, <code >--mediaType</code >
346+
185347- Input type <code >binary</code >
186348
187349 This blob type is used to provide base64 encoded binary content. The
0 commit comments