Skip to content

Commit

Permalink
fix label for upstream change troubleshoot/918 (#458)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamancini authored Dec 22, 2022
1 parent 24c7abd commit 1e6e76e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/source/support-bundle/discover-cluster-specs.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,20 @@ To use the `--load-cluster-specs` flag with the `support-bundle` CLI, there must

The Secret and ConfigMap objects in the cluster must meet the following requirements:

* The `labels` key must have a matching label of `troubleshoot.io/kind: supportbundle-spec`.
* The `labels` key must have a matching label of `troubleshoot.io/kind: support-bundle`.

**NOTE**: You can overwrite the expected label with the `-l` or `--selector` flag. For example, `./support-bundle -l troubleshoot.io/kind=something-else`.

* The `data` key in the Secret or ConfigMap object must match `support-bundle-spec` or `redactor-spec`.

The following is an example of a ConfigMap with a `troubleshoot.io/kind: supportbundle-spec` label and a `data` key matching `support-bundle-spec`:
The following is an example of a ConfigMap with a `troubleshoot.io/kind: support-bundle` label and a `data` key matching `support-bundle-spec`:

```yaml
apiVersion: v1
kind: ConfigMap
metadata:
labels:
troubleshoot.io/kind: supportbundle-spec
troubleshoot.io/kind: support-bundle
name: some-bundle
data:
support-bundle-spec: |
Expand Down

0 comments on commit 1e6e76e

Please sign in to comment.