From e487e49ea797defdee9f6510ab5425c3ba1d2d89 Mon Sep 17 00:00:00 2001 From: Stefan Hacker Date: Wed, 29 Apr 2020 20:50:25 +0200 Subject: [PATCH] Fix connectionPoolMaxOverflow in anchor helm chart (#21813) Was incorrectly set to connectionPoolSize while the actual value in connectionPoolMaxOverflow was ignored. This prevents the proper use of connection limits using the chart. Signed-off-by: Stefan Hacker --- stable/anchore-engine/Chart.yaml | 2 +- stable/anchore-engine/templates/engine_configmap.yaml | 2 +- stable/anchore-engine/templates/enterprise_configmap.yaml | 2 +- stable/anchore-engine/templates/enterprise_feeds_configmap.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/stable/anchore-engine/Chart.yaml b/stable/anchore-engine/Chart.yaml index 66fe4c9c36..e88e768e46 100644 --- a/stable/anchore-engine/Chart.yaml +++ b/stable/anchore-engine/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: anchore-engine -version: 1.6.0 +version: 1.6.1 appVersion: 0.7.1 description: Anchore container analysis and policy evaluation engine service keywords: diff --git a/stable/anchore-engine/templates/engine_configmap.yaml b/stable/anchore-engine/templates/engine_configmap.yaml index 5e6681b8ec..9bdf9eade6 100644 --- a/stable/anchore-engine/templates/engine_configmap.yaml +++ b/stable/anchore-engine/templates/engine_configmap.yaml @@ -125,7 +125,7 @@ data: timeout: {{ .Values.anchoreGlobal.dbConfig.timeout }} ssl: false db_pool_size: {{ .Values.anchoreGlobal.dbConfig.connectionPoolSize }} - db_pool_max_overflow: {{ .Values.anchoreGlobal.dbConfig.connectionPoolSize }} + db_pool_max_overflow: {{ .Values.anchoreGlobal.dbConfig.connectionPoolMaxOverflow }} services: apiext: enabled: true diff --git a/stable/anchore-engine/templates/enterprise_configmap.yaml b/stable/anchore-engine/templates/enterprise_configmap.yaml index c6f80e5e2a..e2b987abe0 100644 --- a/stable/anchore-engine/templates/enterprise_configmap.yaml +++ b/stable/anchore-engine/templates/enterprise_configmap.yaml @@ -71,7 +71,7 @@ data: timeout: {{ .Values.anchoreGlobal.dbConfig.timeout }} ssl: false db_pool_size: {{ .Values.anchoreGlobal.dbConfig.connectionPoolSize }} - db_pool_max_overflow: {{ .Values.anchoreGlobal.dbConfig.connectionPoolSize }} + db_pool_max_overflow: {{ .Values.anchoreGlobal.dbConfig.connectionPoolMaxOverflow }} services: {{- if .Values.anchoreEnterpriseRbac.enabled }} diff --git a/stable/anchore-engine/templates/enterprise_feeds_configmap.yaml b/stable/anchore-engine/templates/enterprise_feeds_configmap.yaml index fa0b1e7c30..a0b6aa0306 100644 --- a/stable/anchore-engine/templates/enterprise_feeds_configmap.yaml +++ b/stable/anchore-engine/templates/enterprise_feeds_configmap.yaml @@ -63,7 +63,7 @@ data: timeout: {{ .Values.anchoreEnterpriseFeeds.dbConfig.timeout }} ssl: false db_pool_size: {{ .Values.anchoreEnterpriseFeeds.dbConfig.connectionPoolSize }} - db_pool_max_overflow: {{ .Values.anchoreEnterpriseFeeds.dbConfig.connectionPoolSize }} + db_pool_max_overflow: {{ .Values.anchoreEnterpriseFeeds.dbConfig.connectionPoolMaxOverflow }} services: feeds: enabled: true