Skip to content

Commit

Permalink
fixing missing default Kafka version
Browse files Browse the repository at this point in the history
  • Loading branch information
wejdross committed Dec 20, 2022
1 parent c185068 commit b7c2085
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions apis/exoscale/v1/dbaas_exoscale_kafka.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ type ExoscaleKafkaServiceSpec struct {
KafkaSettings runtime.RawExtension `json:"kafkaSettings,omitempty"`

// +kubebuilder:validation:Enum="3.2"
// +kubebuilder:default="3.2"

// Version contains the minor version for Kafka.
// Currently only "3.2" is supported. Leave it empty to always get the latest supported version.
Expand Down
1 change: 1 addition & 0 deletions packages/composite/dbaas/exoscale/kafka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ parameters:
type: object
x-kubernetes-preserve-unknown-fields: true
version:
default: "3.2"
description: Version contains the minor version for Kafka. Currently only "3.2" is supported. Leave it empty to always get the latest supported version.
enum:
- "3.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ spec:
type: object
x-kubernetes-preserve-unknown-fields: true
version:
default: '3.2'
description: Version contains the minor version for Kafka.
Currently only "3.2" is supported. Leave it empty to always
get the latest supported version.
Expand Down

0 comments on commit b7c2085

Please sign in to comment.