Skip to content

Commit f2f0854

Browse files
committed
Allow lokiStackSize value to be empty string
1 parent 4dd28e2 commit f2f0854

File tree

5 files changed

+5
-1
lines changed

5 files changed

+5
-1
lines changed

api/bases/telemetry.openstack.org_cloudkitties.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,7 @@ spec:
512512
description: Size of the LokiStack. Supported are "1x.demo" (default),
513513
"1x.pico", "1x.extra-small", "1x.small", "1x.medium"
514514
enum:
515+
- ""
515516
- 1x.demo
516517
- 1x.pico
517518
- 1x.extra-small

api/bases/telemetry.openstack.org_telemetries.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1077,6 +1077,7 @@ spec:
10771077
description: Size of the LokiStack. Supported are "1x.demo" (default),
10781078
"1x.pico", "1x.extra-small", "1x.small", "1x.medium"
10791079
enum:
1080+
- ""
10801081
- 1x.demo
10811082
- 1x.pico
10821083
- 1x.extra-small

api/v1beta1/cloudkitty_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ type CloudKittySpecBase struct {
202202

203203
// Size of the LokiStack. Supported are "1x.demo" (default), "1x.pico", "1x.extra-small", "1x.small", "1x.medium"
204204
// +kubebuilder:validation:Optional
205-
// +kubebuilder:validation:Enum="1x.demo";"1x.pico";"1x.extra-small";"1x.small";"1x.medium"
205+
// +kubebuilder:validation:Enum="";"1x.demo";"1x.pico";"1x.extra-small";"1x.small";"1x.medium"
206206
// +kubebuilder:default="1x.demo"
207207
LokiStackSize string `json:"lokiStackSize"`
208208
}

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,7 @@ spec:
512512
description: Size of the LokiStack. Supported are "1x.demo" (default),
513513
"1x.pico", "1x.extra-small", "1x.small", "1x.medium"
514514
enum:
515+
- ""
515516
- 1x.demo
516517
- 1x.pico
517518
- 1x.extra-small

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1077,6 +1077,7 @@ spec:
10771077
description: Size of the LokiStack. Supported are "1x.demo" (default),
10781078
"1x.pico", "1x.extra-small", "1x.small", "1x.medium"
10791079
enum:
1080+
- ""
10801081
- 1x.demo
10811082
- 1x.pico
10821083
- 1x.extra-small

0 commit comments

Comments
 (0)