From aa98455a5ae68953696058332683058d74fe2f93 Mon Sep 17 00:00:00 2001 From: "branden.cobb" Date: Tue, 6 Apr 2021 19:14:45 +0000 Subject: [PATCH] Add Affinity doc --- CHANGELOG.md | 5 ++++- chart/Chart.yaml | 2 +- docs/Affinity.md | 16 ++++++++++++++++ 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 docs/Affinity.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 71fe162..f62d6e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 9.2.6-bb.7 - 2021-03-31 + +Adding Affinity documentation + ## 9.2.6-bb.6 - 2021-03-30 Modified initContainer logic @@ -36,4 +40,3 @@ Added logging instructions to docs 7/22/2020 Added auth-oidc plugin version 2.0.0 Added plugins for scanning C/C++ code 10/01/2020 - diff --git a/chart/Chart.yaml b/chart/Chart.yaml index eecdad3..549d207 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: 8.6-community name: sonarqube description: SonarQube is an open sourced code quality scanning tool -version: 9.2.6-bb.6 +version: 9.2.6-bb.7 keywords: - coverage - security diff --git a/docs/Affinity.md b/docs/Affinity.md new file mode 100644 index 0000000..cf42e89 --- /dev/null +++ b/docs/Affinity.md @@ -0,0 +1,16 @@ +## Setting Affinity, nodeSelector, and tolerations for Sonarqube within the chart + +### To enable affinity, tolerations, and nodeSelector options in the sonarqube chart set the provided values: +``` +# Affinity for pod assignment +# Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity +affinity: {} + +# Tolerations for pod assignment +# Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ +tolerations: [] + +# Node labels for pod assignment +# Ref: https://kubernetes.io/docs/user-guide/node-selection/ +nodeSelector: {} +``` -- GitLab