diff --git a/apis/apps/v2beta1/emqx_types.go b/apis/apps/v2beta1/emqx_types.go index 5239a72c6..1d1e65218 100644 --- a/apis/apps/v2beta1/emqx_types.go +++ b/apis/apps/v2beta1/emqx_types.go @@ -100,7 +100,7 @@ type BootstrapAPIKey struct { } type Config struct { - //+kubebuilder:validation:Enum=merge;replace + //+kubebuilder:validation:Enum=Merge;Replace //+kubebuilder:default=merge Mode string `json:"mode,omitempty"` // EMQX config, HOCON format, like etc/emqx.conf file diff --git a/config/crd/bases/apps.emqx.io_emqxes.yaml b/config/crd/bases/apps.emqx.io_emqxes.yaml index a31dd4521..08311b356 100644 --- a/config/crd/bases/apps.emqx.io_emqxes.yaml +++ b/config/crd/bases/apps.emqx.io_emqxes.yaml @@ -6507,8 +6507,8 @@ spec: mode: default: merge enum: - - merge - - replace + - Merge + - Replace type: string type: object coreTemplate: diff --git a/deploy/charts/emqx-operator/templates/crd.emqxes.apps.emqx.io.yaml b/deploy/charts/emqx-operator/templates/crd.emqxes.apps.emqx.io.yaml index d75ccbe36..1f297de69 100644 --- a/deploy/charts/emqx-operator/templates/crd.emqxes.apps.emqx.io.yaml +++ b/deploy/charts/emqx-operator/templates/crd.emqxes.apps.emqx.io.yaml @@ -6519,8 +6519,8 @@ spec: mode: default: merge enum: - - merge - - replace + - Merge + - Replace type: string type: object coreTemplate: