fix: [sc-106256] Add missing uri field to troubleshoot.sh types (#1574)

add uri field for top level type
This commit is contained in:
Gerard Nguyen
2024-07-15 13:07:04 +10:00
committed by GitHub
parent 403b1ceccf
commit 4e999d6bfb
18 changed files with 33 additions and 0 deletions
@@ -2906,6 +2906,8 @@ spec:
type: object
type: object
type: array
uri:
type: string
type: object
status:
description: AnalyzerStatus defines the observed state of Analyzer
@@ -16878,6 +16878,8 @@ spec:
type: object
type: object
type: array
uri:
type: string
type: object
status:
description: CollectorStatus defines the observed state of Collector
@@ -1623,6 +1623,8 @@ spec:
type: object
type: object
type: array
uri:
type: string
type: object
status:
description: HostCollectorStatus defines the observed state of HostCollector
@@ -1937,6 +1937,8 @@ spec:
type: object
type: object
type: array
uri:
type: string
type: object
status:
description: HostPreflightStatus defines the observed state of HostPreflight
@@ -18923,6 +18923,8 @@ spec:
type: array
uploadResultsTo:
type: string
uri:
type: string
type: object
status:
description: PreflightStatus defines the observed state of Preflight
@@ -75,6 +75,8 @@ spec:
type: object
type: object
type: array
uri:
type: string
type: object
status:
description: RedactorStatus defines the observed state of Redactor
@@ -388,6 +388,8 @@ spec:
additionalProperties:
type: string
type: object
uri:
type: string
type: object
status:
description: CollectorStatus defines the observed state of Collector
@@ -24,6 +24,7 @@ import (
type AnalyzerSpec struct {
Analyzers []*Analyze `json:"analyzers,omitempty"`
HostAnalyzers []*HostAnalyze `json:"hostAnalyzers,omitempty" yaml:"hostAnalyzers,omitempty"`
Uri string `json:"uri,omitempty" yaml:"uri,omitempty"`
}
// AnalyzerStatus defines the observed state of Analyzer
@@ -35,6 +35,7 @@ type AfterCollection struct {
type CollectorSpec struct {
Collectors []*Collect `json:"collectors,omitempty" yaml:"collectors,omitempty"`
AfterCollection []*AfterCollection `json:"afterCollection,omitempty" yaml:"afterCollection,omitempty"`
Uri string `json:"uri,omitempty" yaml:"uri,omitempty"`
}
// CollectorStatus defines the observed state of Collector
@@ -24,6 +24,7 @@ import (
type HostCollectorSpec struct {
Collectors []*HostCollect `json:"collectors,omitempty" yaml:"collectors,omitempty"`
Analyzers []*HostAnalyze `json:"analyzers,omitempty" yaml:"analyzers,omitempty"`
Uri string `json:"uri,omitempty" yaml:"uri,omitempty"`
}
// HostCollectorStatus defines the observed state of HostCollector
@@ -25,6 +25,7 @@ type HostPreflightSpec struct {
Collectors []*HostCollect `json:"collectors,omitempty" yaml:"collectors,omitempty"`
RemoteCollectors []*RemoteCollect `json:"remoteCollectors,omitempty" yaml:"remoteCollectors,omitempty"`
Analyzers []*HostAnalyze `json:"analyzers,omitempty" yaml:"analyzers,omitempty"`
Uri string `json:"uri,omitempty" yaml:"uri,omitempty"`
}
// HostPreflightStatus defines the observed state of HostPreflight
@@ -26,6 +26,7 @@ type PreflightSpec struct {
Collectors []*Collect `json:"collectors,omitempty" yaml:"collectors,omitempty"`
RemoteCollectors []*RemoteCollect `json:"remoteCollectors,omitempty" yaml:"remoteCollectors,omitempty"`
Analyzers []*Analyze `json:"analyzers,omitempty" yaml:"analyzers,omitempty"`
Uri string `json:"uri,omitempty" yaml:"uri,omitempty"`
}
// PreflightStatus defines the observed state of Preflight
@@ -23,6 +23,7 @@ import (
// RedactorSpec defines the desired state of Redactor
type RedactorSpec struct {
Redactors []*Redact `json:"redactors,omitempty"`
Uri string `json:"uri,omitempty" yaml:"uri,omitempty"`
}
// RedactorStatus defines the observed state of Redactor
@@ -25,6 +25,7 @@ type RemoteCollectorSpec struct {
Collectors []*RemoteCollect `json:"collectors,omitempty" yaml:"collectors,omitempty"`
AfterCollection []*AfterCollection `json:"afterCollection,omitempty" yaml:"afterCollection,omitempty"`
NodeSelector map[string]string `json:"nodeSelector,omitempty" yaml:"nodeSelector,omitempty"`
Uri string `json:"uri,omitempty" yaml:"uri,omitempty"`
}
// +genclient
@@ -4440,6 +4440,9 @@
}
}
}
},
"uri": {
"type": "string"
}
}
},
@@ -14246,6 +14246,9 @@
}
}
}
},
"uri": {
"type": "string"
}
}
},
@@ -17338,6 +17338,9 @@
},
"uploadResultsTo": {
"type": "string"
},
"uri": {
"type": "string"
}
}
},
@@ -72,6 +72,9 @@
}
}
}
},
"uri": {
"type": "string"
}
}
},