@@ -61,7 +61,7 @@ type WorkflowTempestRunSpec struct {
61
61
// +kubebuilder:validation:Optional
62
62
// Extra images that should be downloaded inside the test pod and uploaded to
63
63
// openstack.
64
- ExtraImages * []ExtraImagesType `json:"extraImagesType"`
64
+ ExtraImages * []ExtraImagesType `json:"extraImagesType,omitempty "`
65
65
}
66
66
67
67
// TempestconfRunSpec - is used to configure execution of discover-tempest-config
@@ -70,114 +70,114 @@ type WorkflowTempestRunSpec struct {
70
70
type WorkflowTempestconfRunSpec struct {
71
71
// +kubebuilder:validation:Optional
72
72
// Indicate whether discover-tempest-config should be executed with --create
73
- Create * bool `json:"create"`
73
+ Create * bool `json:"create,omitempty "`
74
74
75
75
// +kubebuilder:validation:Optional
76
76
// Indicate whether discover-tempest-config should be executed with
77
77
// --collect-timing
78
- CollectTiming * bool `json:"collectTiming"`
78
+ CollectTiming * bool `json:"collectTiming,omitempty "`
79
79
80
80
// +kubebuilder:validation:Optional
81
81
// Indicate whether discover-tempest-config should be executed with --insecure
82
- Insecure * bool `json:"insecure"`
82
+ Insecure * bool `json:"insecure,omitempty "`
83
83
84
84
// +kubebuilder:validation:Optional
85
85
// Indicate whether discover-tempest-config should be executed with
86
86
// --no-default-deployer
87
- NoDefaultDeployer * bool `json:"noDefaultDeployer"`
87
+ NoDefaultDeployer * bool `json:"noDefaultDeployer,omitempty "`
88
88
89
89
// +kubebuilder:validation:Optional
90
90
// Indicate whether discover-tempest-config should be executed with --debug
91
- Debug * bool `json:"debug"`
91
+ Debug * bool `json:"debug,omitempty "`
92
92
93
93
// +kubebuilder:validation:Optional
94
94
// Indicate whether discover-tempest-config should be executed with --verbose
95
- Verbose * bool `json:"verbose"`
95
+ Verbose * bool `json:"verbose,omitempty "`
96
96
97
97
// +kubebuilder:validation:Optional
98
98
// Indicate whether discover-tempest-config should be executed with --non-admin
99
- NonAdmin * bool `json:"nonAdmin"`
99
+ NonAdmin * bool `json:"nonAdmin,omitempty "`
100
100
101
101
// +kubebuilder:validation:Optional
102
102
// Indicate whether discover-tempest-config should be executed with --retry-image
103
- RetryImage * bool `json:"retryImage"`
103
+ RetryImage * bool `json:"retryImage,omitempty "`
104
104
105
105
// +kubebuilder:validation:Optional
106
106
// Indicate whether discover-tempest-config should be executed with
107
107
// --convert-to-raw
108
- ConvertToRaw * bool `json:"convertToRaw"`
108
+ ConvertToRaw * bool `json:"convertToRaw,omitempty "`
109
109
110
110
// +kubebuilder:validation:Optional
111
111
// The content of this variable will be passed to discover-tempest-config via
112
112
// the --out parameter
113
- Out * string `json:"out"`
113
+ Out * string `json:"out,omitempty "`
114
114
115
115
// +kubebuilder:validation:Optional
116
116
// A content of deployer_input.ini that is passed to tempest via --deployer-input
117
- DeployerInput * string `json:"deployerInput"`
117
+ DeployerInput * string `json:"deployerInput,omitempty "`
118
118
119
119
// +kubebuilder:validation:Optional
120
120
// A content of accounts.yaml that is passed to tempest via --test-acounts
121
- TestAccounts * string `json:"testAccounts"`
121
+ TestAccounts * string `json:"testAccounts,omitempty "`
122
122
123
123
// +kubebuilder:validation:Optional
124
124
// The content of this variable will be passed to discover-tempest-config via
125
125
// the --create-accounts-file
126
- CreateAccountsFile * string `json:"createAccountsFile"`
126
+ CreateAccountsFile * string `json:"createAccountsFile,omitempty "`
127
127
128
128
// +kubebuilder:validation:Optional
129
129
// A content of profile.yaml that is passed to tempest via --profile
130
- Profile * string `json:"profile"`
130
+ Profile * string `json:"profile,omitempty "`
131
131
132
132
// +kubebuilder:validation:Optional
133
133
// The content of this variable will be passed to discover-tempest-config via
134
134
// --generate-profile
135
- GenerateProfile * string `json:"generateProfile"`
135
+ GenerateProfile * string `json:"generateProfile,omitempty "`
136
136
137
137
// +kubebuilder:validation:Optional
138
138
// The content of this variable will be passed to discover-tempest-config via
139
139
// --image-disk-format
140
- ImageDiskFormat * string `json:"imageDiskFormat"`
140
+ ImageDiskFormat * string `json:"imageDiskFormat,omitempty "`
141
141
142
142
// +kubebuilder:validation:Optional
143
143
// The content of this variable will be passed to discover-tempest-config via
144
144
// --image
145
- Image * string `json:"image"`
145
+ Image * string `json:"image,omitempty "`
146
146
147
147
// +kubebuilder:validation:Optional
148
148
// The content of this variable will be passed to discover-tempest-config via
149
149
// --flavor-min-mem
150
- FlavorMinMem * int64 `json:"flavorMinMem"`
150
+ FlavorMinMem * int64 `json:"flavorMinMem,omitempty "`
151
151
152
152
// +kubebuilder:validation:Optional
153
153
// The content of this variable will be passed to discover-tempest-config via
154
154
// --flavor-min-disk
155
- FlavorMinDisk * int64 `json:"flavorMinDisk"`
155
+ FlavorMinDisk * int64 `json:"flavorMinDisk,omitempty "`
156
156
157
157
// +kubebuilder:validation:Optional
158
158
// The content of this variable will be passed to discover-tempest-config via
159
159
// --network-id
160
- NetworkID * string `json:"networkID"`
160
+ NetworkID * string `json:"networkID,omitempty "`
161
161
162
162
// +kubebuilder:validation:Optional
163
163
// The content of this variable will be passed to discover-tempest-config via
164
164
// --append
165
- Append * string `json:"append"`
165
+ Append * string `json:"append,omitempty "`
166
166
167
167
// +kubebuilder:validation:Optional
168
168
// The content of this variable will be passed to discover-tempest-config via
169
169
// --remove
170
- Remove * string `json:"remove"`
170
+ Remove * string `json:"remove,omitempty "`
171
171
172
172
// +kubebuilder:validation:Optional
173
173
// The content of this variable will be appended at the end of the command
174
174
// that executes discover-tempest-config (override values).
175
- Overrides * string `json:"overrides"`
175
+ Overrides * string `json:"overrides,omitempty "`
176
176
177
177
// +kubebuilder:validation:Optional
178
178
// The content of this variable will be passed to discover-tempest-config via
179
179
// --timeout
180
- Timeout * int64 `json:"timeout"`
180
+ Timeout * int64 `json:"timeout,omitempty "`
181
181
}
182
182
183
183
// TempestSpec - configuration of execution of tempest. For specific configuration
@@ -191,12 +191,12 @@ type WorkflowTempestSpec struct {
191
191
// +kubebuilder:validation:Optional
192
192
// Name of a storage class that is used to create PVCs for logs storage. Required
193
193
// if default storage class does not exist.
194
- StorageClass * string `json:"storageClass"`
194
+ StorageClass * string `json:"storageClass,omitempty "`
195
195
196
196
// +kubebuilder:validation:Optional
197
197
// An URL of a tempest container image that should be used for the execution
198
198
// of tempest tests.
199
- ContainerImage * string `json:"containerImage"`
199
+ ContainerImage * string `json:"containerImage,omitempty "`
200
200
201
201
// +kubebuilder:validation:Optional
202
202
// By default test-operator executes the test-pods sequentially if multiple
@@ -217,11 +217,11 @@ type WorkflowTempestSpec struct {
217
217
218
218
// +kubebuilder:validation:Optional
219
219
// OpenStackConfigMap is the name of the ConfigMap containing the clouds.yaml
220
- OpenStackConfigMap * string `json:"openStackConfigMap"`
220
+ OpenStackConfigMap * string `json:"openStackConfigMap,omitempty "`
221
221
222
222
// +kubebuilder:validation:Optional
223
223
// OpenStackConfigSecret is the name of the Secret containing the secure.yaml
224
- OpenStackConfigSecret * string `json:"openStackConfigSecret"`
224
+ OpenStackConfigSecret * string `json:"openStackConfigSecret,omitempty "`
225
225
226
226
// +kubebuilder:validation:Optional
227
227
// NetworkAttachments is a list of NetworkAttachment resource names to expose
0 commit comments