Merge pull request #696 from replicatedhq/el_issue_682_20220831

EL 20220901 - Implement new type  for #682
This commit is contained in:
Chris Sanders
2022-09-02 08:13:43 -05:00
committed by GitHub
2 changed files with 3 additions and 0 deletions

View File

@@ -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: {}

View File

@@ -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