mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/sonarqube] Upgrade to Sonarqube 7.8 (#15017)
* [stable/sonarqube] upgrade to 7.8 Create init-container that sets vm.max_map_count. If this is not set sonarqube will not start because elasticsearch requires this sysctl setting to be at least 262144. Signed-off-by: Jannis Oeltjen <oss@jcoeltjen.de> * [stable/sonarqube] Adapt to new TLS format in NOTES Signed-off-by: Jannis Oeltjen <oss@jcoeltjen.de>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
70166735f5
commit
8a4ad899e9
@@ -1,8 +1,8 @@
|
||||
apiVersion: v1
|
||||
name: sonarqube
|
||||
description: Sonarqube is an open sourced code quality scanning tool
|
||||
version: 2.0.1
|
||||
appVersion: 7.7
|
||||
version: 2.1.0
|
||||
appVersion: 7.8
|
||||
keywords:
|
||||
- coverage
|
||||
- security
|
||||
|
||||
@@ -40,7 +40,7 @@ The following table lists the configurable parameters of the Sonarqube chart and
|
||||
| Parameter | Description | Default |
|
||||
| ------------------------------------------ | ---------------------------------------- | -------------------------------------------|
|
||||
| `image.repository` | image repository | `sonarqube` |
|
||||
| `image.tag` | `sonarqube` image tag. | `7.7-community` |
|
||||
| `image.tag` | `sonarqube` image tag. | `7.8-community` |
|
||||
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
|
||||
| `image.pullSecret` | imagePullSecret to use for private repository | |
|
||||
| `command` | command to run in the container | `nil` (need to be set prior to 6.7.6, and 7.4) |
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
1. Get the application URL by running these commands:
|
||||
{{- if .Values.ingress.enabled }}
|
||||
{{- range .Values.ingress.hosts }}
|
||||
http://{{ . }}
|
||||
http://{{ .name }}
|
||||
{{- end }}
|
||||
{{- else if contains "NodePort" .Values.service.type }}
|
||||
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ template "sonarqube.fullname" . }})
|
||||
|
||||
@@ -22,6 +22,15 @@ spec:
|
||||
{{ toYaml .Values.securityContext | indent 8 }}
|
||||
{{- if .Values.plugins.install }}
|
||||
initContainers:
|
||||
- name: init-sysctl
|
||||
image: busybox:1.31
|
||||
command:
|
||||
- sysctl
|
||||
- -w
|
||||
- vm.max_map_count=262144
|
||||
imagePullPolicy: IfNotPresent
|
||||
securityContext:
|
||||
privileged: true
|
||||
- name: install-plugins
|
||||
image: {{ default "joosthofman/wget:1.0" .Values.plugins.initContainerImage }}
|
||||
env:
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
replicaCount: 1
|
||||
image:
|
||||
repository: sonarqube
|
||||
tag: 7.7-community
|
||||
tag: 7.8-community
|
||||
# If using a private repository, the name of the imagePullSecret to use
|
||||
# pullSecret: my-repo-secret
|
||||
|
||||
|
||||
Reference in New Issue
Block a user