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.
Example Collector Definition
apiVersion: troubleshoot.sh/v1beta2 kind: SupportBundle metadata: name: sample spec: collectors: - data: name: static/data.txt data: | any static data can be used here
data collector is executed it will include the file named using the
name property of the collector.