A description of the data collector to include static content
data collector can be used to add static content to the collected data.
In addition to the shared collector properties, the
data collector accepts the following parameters:
This will be used as part of the output path in the support bundle.
This field is required if
collectorName is not set.
If both are set then
collectorName will be appended to
The contents of this field will be written to the file.
apiVersion: troubleshoot.sh/v1beta2 kind: SupportBundle metadata: name: sample spec: collectors: - data: name: static/data.txt data: | any static data can be used here
troubleshoot.sh/v1beta2was introduced in preflight and support-bundle krew plugin version 0.9.39 and Kots version 1.19.0. Kots vendors should read the guide to maintain backwards compatibility.
data collector is executed it will include the file named using the
name property of the collector.