Skip to content

Commit 7e37873

Browse files
authored
Increase max length of additionalConfig (#1710)
A maximum string lenth of 2,000 was too restrictive. The new limit of 100,000 matches the limit of `advancedConfig`. Resolves #1707
1 parent cfa0d03 commit 7e37873

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

api/v1beta1/rabbitmqcluster_types.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ type RabbitmqClusterConfigurationSpec struct {
383383
// Modify to add to the rabbitmq.conf file in addition to default configurations set by the operator.
384384
// Modifying this property on an existing RabbitmqCluster will trigger a StatefulSet rolling restart and will cause rabbitmq downtime.
385385
// For more information on this config, see https://www.rabbitmq.com/configure.html#config-file
386-
// +kubebuilder:validation:MaxLength:=2000
386+
// +kubebuilder:validation:MaxLength:=100000
387387
AdditionalConfig string `json:"additionalConfig,omitempty"`
388388
// Specify any rabbitmq advanced.config configurations to apply to the cluster.
389389
// For more information on advanced config, see https://www.rabbitmq.com/configure.html#advanced-config-file

config/crd/bases/rabbitmq.com_rabbitmqclusters.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4886,7 +4886,7 @@ spec:
48864886
Modify to add to the rabbitmq.conf file in addition to default configurations set by the operator.
48874887
Modifying this property on an existing RabbitmqCluster will trigger a StatefulSet rolling restart and will cause rabbitmq downtime.
48884888
For more information on this config, see https://www.rabbitmq.com/configure.html#config-file
4889-
maxLength: 2000
4889+
maxLength: 100000
48904890
type: string
48914891
additionalPlugins:
48924892
description: 'List of plugins to enable in addition to essential plugins: rabbitmq_management, rabbitmq_prometheus, and rabbitmq_peer_discovery_k8s.'

0 commit comments

Comments
 (0)