From 25eff9f0f02505b681a9b691e0be3808678589d9 Mon Sep 17 00:00:00 2001 From: Kavitha Thulasiraman Date: Thu, 19 Aug 2021 08:43:55 -0400 Subject: [PATCH 1/3] add resource limit --- chart/values.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/chart/values.yaml b/chart/values.yaml index f0c0dd6..d841696 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -122,7 +122,14 @@ initContainers: # securityContext: {} # We allow the init containers to have a separate resources declaration because # the initContainer does not take as much resources. - resources: {} + resources: + limits: + memory: 2Gi + cpu: 250m + requests: + memory: 512Mi + cpu: 250m + ## Provide a secret containing one or more certificate files in the keys that will be added to cacerts ## The cacerts file will be set via SONARQUBE_WEB_JVM_OPTS and SONAR_CE_JAVAOPTS -- GitLab From d05597d481c19c7e6823cadfe812d26cf339f0ba Mon Sep 17 00:00:00 2001 From: Kavitha Thulasiraman Date: Thu, 19 Aug 2021 10:55:55 -0400 Subject: [PATCH 2/3] add resource limit and request --- chart/values.yaml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/chart/values.yaml b/chart/values.yaml index d841696..c65467b 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -123,14 +123,13 @@ initContainers: # We allow the init containers to have a separate resources declaration because # the initContainer does not take as much resources. resources: - limits: - memory: 2Gi - cpu: 250m - requests: - memory: 512Mi - cpu: 250m - - + limits: + memory: 2Gi + cpu: 250m + requests: + memory: 2Gi + cpu: 250m + ## Provide a secret containing one or more certificate files in the keys that will be added to cacerts ## The cacerts file will be set via SONARQUBE_WEB_JVM_OPTS and SONAR_CE_JAVAOPTS ## -- GitLab From 39e43e3f162fc1871ff56bd0f004dd50f8d49d54 Mon Sep 17 00:00:00 2001 From: Kavitha Thulasiraman Date: Thu, 19 Aug 2021 11:24:56 -0400 Subject: [PATCH 3/3] added change log and chart version --- CHANGELOG.md | 4 ++++ chart/Chart.yaml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d6c7ee6..ae4473d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). --- +## [9.2.6-bb.14] - 2021-08-19 +### Added +Resource limit and request for the deployment + ## [9.2.6-bb.13] - 2021-06-07 ### Upgrade - Upgraded Sonarqube to ironbank version 8.9. diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 36a5843..ee44ce9 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: 8.9-community name: sonarqube description: SonarQube is an open sourced code quality scanning tool -version: 9.2.6-bb.13 +version: 9.2.6-bb.14 keywords: - coverage - security -- GitLab