View on GitHub

Static Data

A description of the data collector to include static content

The 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:

name (Optional)

This will be used as part of the output path in the support bundle.

data (Required)

The contents of this field will be written to the file.

Example Collector Definition

apiVersion: troubleshoot.replicated.com/v1beta1
kind: Collector
  name: sample
    - data:
        name: static/data.txt
        data: |
          any static

          data can be used here

Included resources

When the data collector is executed it will include the file named using the name property of the collector.