@@ -77,31 +77,31 @@ func (d *StrategyDetailsDeployment) GetStrategyName() string {
77
77
// StatusDescriptor describes a field in a status block of a CRD so that OLM can consume it
78
78
// +k8s:openapi-gen=true
79
79
type StatusDescriptor struct {
80
- Path string `json:"path"`
81
- DisplayName string `json:"displayName,omitempty"`
82
- Description string `json:"description,omitempty"`
83
- XDescriptors []string `json:"x-descriptors,omitempty"`
84
- Value * json.RawMessage `json:"value,omitempty"`
80
+ Path string `json:"path"`
81
+ DisplayName string `json:"displayName,omitempty"`
82
+ Description string `json:"description,omitempty"`
83
+ XDescriptors []string `json:"x-descriptors,omitempty"`
84
+ Value json.RawMessage `json:"value,omitempty"`
85
85
}
86
86
87
87
// SpecDescriptor describes a field in a spec block of a CRD so that OLM can consume it
88
88
// +k8s:openapi-gen=true
89
89
type SpecDescriptor struct {
90
- Path string `json:"path"`
91
- DisplayName string `json:"displayName,omitempty"`
92
- Description string `json:"description,omitempty"`
93
- XDescriptors []string `json:"x-descriptors,omitempty"`
94
- Value * json.RawMessage `json:"value,omitempty"`
90
+ Path string `json:"path"`
91
+ DisplayName string `json:"displayName,omitempty"`
92
+ Description string `json:"description,omitempty"`
93
+ XDescriptors []string `json:"x-descriptors,omitempty"`
94
+ Value json.RawMessage `json:"value,omitempty"`
95
95
}
96
96
97
97
// ActionDescriptor describes a declarative action that can be performed on a custom resource instance
98
98
// +k8s:openapi-gen=true
99
99
type ActionDescriptor struct {
100
- Path string `json:"path"`
101
- DisplayName string `json:"displayName,omitempty"`
102
- Description string `json:"description,omitempty"`
103
- XDescriptors []string `json:"x-descriptors,omitempty"`
104
- Value * json.RawMessage `json:"value,omitempty"`
100
+ Path string `json:"path"`
101
+ DisplayName string `json:"displayName,omitempty"`
102
+ Description string `json:"description,omitempty"`
103
+ XDescriptors []string `json:"x-descriptors,omitempty"`
104
+ Value json.RawMessage `json:"value,omitempty"`
105
105
}
106
106
107
107
// CRDDescription provides details to OLM about the CRDs
0 commit comments