Skip to content

Commit e575173

Browse files
authored
Merge pull request #2296 from rabbitmq/auto-enabling-feature-flags
Document `autoEnableAllFeatureFlags`
2 parents e865e30 + 8ef1bbb commit e575173

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

docs/feature-flags/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ a list of columns to display. The available columns are:
204204
205205
## How to Enable Feature Flags {#how-to-enable-feature-flags}
206206
207-
After upgrading one node or the entire cluster, it will be possible
207+
After upgrading all nodes in the cluster, it will be possible
208208
to enable new feature flags. Note that it will be impossible to roll
209209
back the version or add a cluster member using the old version once new
210210
feature flags are enabled.

kubernetes/operator/using-operator/index.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -642,6 +642,26 @@ spec:
642642
disableNonTLSListeners: true
643643
```
644644

645+
### Automatically Enabling Feature Flags (added in version 2.15.0) {#autoEnableAllFeatureFlags}
646+
647+
**Description:** When set to true, operator will run `rabbitmqctl enable_feature_flag all` whenever the cluster is updated.
648+
This will automatically enable all [feature flags](/docs/feature-flags). Keep in mind that once enabled, feature flags cannot
649+
be disabled. Leaving this option as `false` gives more control of when the feature flags get enabled,
650+
but requires a [manual step after the upgrade](https://www.rabbitmq.com/docs/feature-flags#how-to-enable-feature-flags).
651+
652+
**Default Value:** false
653+
654+
**Example:**
655+
656+
```yaml
657+
apiVersion: rabbitmq.com/v1beta1
658+
kind: RabbitmqCluster
659+
metadata:
660+
name: rabbitmqcluster-sample
661+
spec:
662+
autoEnableAllFeatureFlags: true
663+
```
664+
645665
### Skip Post Deploy {#SkipPostDeploySteps}
646666

647667
**Description:** If unset, or set to false, operator will run `rabbitmq-queues rebalance all` whenever the cluster is updated.

0 commit comments

Comments
 (0)