[stable/sonarqube] Adds ability to set sysctl init container image from values. (#17129)

* increments chart version

Signed-off-by: Nicolaas Hyatt <nhyatt@smoothnet.org>

* corrects invalid default value

Signed-off-by: Nicolaas Hyatt <nhyatt@smoothnet.org>

* adds newly supported configuration value

Signed-off-by: Nicolaas Hyatt <nhyatt@smoothnet.org>

* supports supplying image for sysctl init container

Signed-off-by: Nicolaas Hyatt <nhyatt@smoothnet.org>

* Incremented minor version as requested by @rjkernick
Signed-off-by: Nicolaas Hyatt <nhyatt@smoothnet.org>
This commit is contained in:
TheSp1der
2019-09-17 06:54:25 -07:00
committed by Kubernetes Prow Robot
parent d33937f96e
commit 4d80c40c30
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
name: sonarqube
description: Sonarqube is an open sourced code quality scanning tool
version: 2.2.0
version: 2.3.0
appVersion: 7.9
keywords:
- coverage
+2 -1
View File
@@ -94,7 +94,8 @@ The following table lists the configurable parameters of the Sonarqube chart and
| `tolerations` | List of node taints to tolerate | `[]` |
| `plugins.install` | List of plugins to install | `[]` |
| `plugins.resources` | Plugin Pod resource requests & limits | `{}` |
| `plugins.initContainerImage` | Change init container image | `[]` |
| `plugins.initContainerImage` | Change init container image | `joosthofman/wget:1.0` |
| `plugins.initSysctlContainerImage` | Change init sysctl container image | `busybox:1.31` |
| `plugins.deleteDefaultPlugins` | Remove default plugins and use plugins.install list | `[]` |
| `podLabels` | Map of labels to add to the pods | `{}` |
+1 -1
View File
@@ -32,7 +32,7 @@ spec:
{{ toYaml .Values.securityContext | indent 8 }}
initContainers:
- name: init-sysctl
image: busybox:1.31
image: {{ default "busybox:1.31" .Values.plugins.initSysctlContainerImage }}
command:
- sysctl
- -w