From bd3f7230c745e17f2ed4f8f8c0ff67b9b3ae0327 Mon Sep 17 00:00:00 2001 From: Tomasz Mielech Date: Mon, 5 Sep 2022 09:25:21 +0200 Subject: [PATCH] Fix for enabling all features --- CHANGELOG.md | 1 + pkg/deployment/features/features.go | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6cf5d88c0..a752af793 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,7 @@ - (Bugfix) Fix ClusterScaling integration - (Feature) Sensitive information protection - (Bugfix) Propagate SecurityContext to the ID Containers +- (Bugfix) Fix for enabling all features ## [1.2.15](https://github.com/arangodb/kube-arangodb/tree/1.2.15) (2022-07-20) - (Bugfix) Ensure pod names not too long diff --git a/pkg/deployment/features/features.go b/pkg/deployment/features/features.go index c7d726d4d..231e64357 100644 --- a/pkg/deployment/features/features.go +++ b/pkg/deployment/features/features.go @@ -59,6 +59,10 @@ func (f feature) Enabled() bool { return *f.constValue } + if enableAll { + return true + } + return f.enabled }