Skip to content

Commit 282ffde

Browse files
committed
Add list type
1 parent 88acf58 commit 282ffde

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

api/bases/telemetry.openstack.org_ceilometers.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@ spec:
298298
items:
299299
type: string
300300
type: array
301+
x-kubernetes-list-type: atomic
301302
mysqldExporterHash:
302303
additionalProperties:
303304
type: string

api/v1beta1/ceilometer_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ type CeilometerStatus struct {
175175
MysqldExporterHash map[string]string `json:"mysqldExporterHash,omitempty"`
176176

177177
// List of galera CRs, which are being exported with mysqld_exporter
178+
// +listType=atomic
178179
MysqldExporterExportedGaleras []string `json:"mysqldExporterExportedGaleras,omitempty"`
179180
}
180181

config/crd/bases/telemetry.openstack.org_ceilometers.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@ spec:
298298
items:
299299
type: string
300300
type: array
301+
x-kubernetes-list-type: atomic
301302
mysqldExporterHash:
302303
additionalProperties:
303304
type: string

0 commit comments

Comments
 (0)