Skip to content

Commit

Permalink
Merge pull request #60 from vshn/Kafka-fixes
Browse files Browse the repository at this point in the history
fixing missing default Kafka version
  • Loading branch information
wejdross authored Dec 20, 2022
2 parents c185068 + b7c2085 commit 162d53c
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 162d53c

Please sign in to comment.