Skip to content

Commit 4e999d6

Browse files
authored
fix: [sc-106256] Add missing uri field to troubleshoot.sh types (#1574)
add uri field for top level type
1 parent 403b1ce commit 4e999d6

18 files changed

+33
-0
lines changed

config/crds/troubleshoot.sh_analyzers.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2906,6 +2906,8 @@ spec:
29062906
type: object
29072907
type: object
29082908
type: array
2909+
uri:
2910+
type: string
29092911
type: object
29102912
status:
29112913
description: AnalyzerStatus defines the observed state of Analyzer

config/crds/troubleshoot.sh_collectors.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16878,6 +16878,8 @@ spec:
1687816878
type: object
1687916879
type: object
1688016880
type: array
16881+
uri:
16882+
type: string
1688116883
type: object
1688216884
status:
1688316885
description: CollectorStatus defines the observed state of Collector

config/crds/troubleshoot.sh_hostcollectors.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1623,6 +1623,8 @@ spec:
16231623
type: object
16241624
type: object
16251625
type: array
1626+
uri:
1627+
type: string
16261628
type: object
16271629
status:
16281630
description: HostCollectorStatus defines the observed state of HostCollector

config/crds/troubleshoot.sh_hostpreflights.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1937,6 +1937,8 @@ spec:
19371937
type: object
19381938
type: object
19391939
type: array
1940+
uri:
1941+
type: string
19401942
type: object
19411943
status:
19421944
description: HostPreflightStatus defines the observed state of HostPreflight

config/crds/troubleshoot.sh_preflights.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18923,6 +18923,8 @@ spec:
1892318923
type: array
1892418924
uploadResultsTo:
1892518925
type: string
18926+
uri:
18927+
type: string
1892618928
type: object
1892718929
status:
1892818930
description: PreflightStatus defines the observed state of Preflight

config/crds/troubleshoot.sh_redactors.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ spec:
7575
type: object
7676
type: object
7777
type: array
78+
uri:
79+
type: string
7880
type: object
7981
status:
8082
description: RedactorStatus defines the observed state of Redactor

config/crds/troubleshoot.sh_remotecollectors.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,8 @@ spec:
388388
additionalProperties:
389389
type: string
390390
type: object
391+
uri:
392+
type: string
391393
type: object
392394
status:
393395
description: CollectorStatus defines the observed state of Collector

pkg/apis/troubleshoot/v1beta2/analyzer_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ import (
2424
type AnalyzerSpec struct {
2525
Analyzers []*Analyze `json:"analyzers,omitempty"`
2626
HostAnalyzers []*HostAnalyze `json:"hostAnalyzers,omitempty" yaml:"hostAnalyzers,omitempty"`
27+
Uri string `json:"uri,omitempty" yaml:"uri,omitempty"`
2728
}
2829

2930
// AnalyzerStatus defines the observed state of Analyzer

pkg/apis/troubleshoot/v1beta2/collector_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ type AfterCollection struct {
3535
type CollectorSpec struct {
3636
Collectors []*Collect `json:"collectors,omitempty" yaml:"collectors,omitempty"`
3737
AfterCollection []*AfterCollection `json:"afterCollection,omitempty" yaml:"afterCollection,omitempty"`
38+
Uri string `json:"uri,omitempty" yaml:"uri,omitempty"`
3839
}
3940

4041
// CollectorStatus defines the observed state of Collector

pkg/apis/troubleshoot/v1beta2/host_collector_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ import (
2424
type HostCollectorSpec struct {
2525
Collectors []*HostCollect `json:"collectors,omitempty" yaml:"collectors,omitempty"`
2626
Analyzers []*HostAnalyze `json:"analyzers,omitempty" yaml:"analyzers,omitempty"`
27+
Uri string `json:"uri,omitempty" yaml:"uri,omitempty"`
2728
}
2829

2930
// HostCollectorStatus defines the observed state of HostCollector

0 commit comments

Comments
 (0)