Skip to content

Commit

Permalink
Merge pull request #696 from replicatedhq/el_issue_682_20220831
Browse files Browse the repository at this point in the history
EL 20220901 - Implement new type  for #682
  • Loading branch information
chris-sanders authored Sep 2, 2022
2 parents cdf4d73 + 8fcb65d commit 91c387b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/samples/troubleshoot_v1beta2_collector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ kind: Collector
metadata:
name: collector-sample
spec:
uri: https://raw.githubusercontent.com/replicatedhq/troubleshoot-specs/main/in-cluster/default.yaml
collectors:
- clusterInfo: {}
- clusterResources: {}
Expand Down
2 changes: 2 additions & 0 deletions pkg/apis/troubleshoot/v1beta2/supportbundle_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ type SupportBundleSpec struct {
HostCollectors []*HostCollect `json:"hostCollectors,omitempty" yaml:"hostCollectors,omitempty"`
Analyzers []*Analyze `json:"analyzers,omitempty" yaml:"analyzers,omitempty"`
HostAnalyzers []*HostAnalyze `json:"hostAnalyzers,omitempty" yaml:"hostAnalyzers,omitempty"`
// URI optionally defines a location which is the source of this spec to allow updating of the spec at runtime
Uri string `json:"uri,omitempty" yaml:"uri,omitempty"`
}

// SupportBundleStatus defines the observed state of SupportBundle
Expand Down

0 comments on commit 91c387b

Please sign in to comment.