1
0
mirror of https://github.com/helm/charts.git synced 2026-02-14 10:00:02 +00:00

[stable/sonarqube] upgrades LTS to latest patch (#19836)

* [stable/sonarqube] upgrades LTS to latest patch

Also updates ingress apiVersion, adding support for later k8s versions.
(Modernizes documentaiton accordingly.)

Signed-off-by: Usman Akeju <akeju00+github@gmail.com>

* [stable/sonarqube] support also k8s <= v1.13

Signed-off-by: Usman Akeju <akeju00+github@gmail.com>
This commit is contained in:
Usman
2020-01-14 16:55:24 +01:00
committed by Kubernetes Prow Robot
parent 4c39ce95e1
commit 9402a760e5
5 changed files with 13 additions and 5 deletions

View File

@@ -279,7 +279,11 @@ ingress:
```yaml
{{- if .Values.ingress.enabled -}}
{{- if .Capabilities.APIVersions.Has "networking.k8s.io/v1beta1" }}
apiVersion: networking.k8s.io/v1beta1
{{ else }}
apiVersion: extensions/v1beta1
{{ end -}}
kind: Ingress
metadata:
name: {{ include "myapp.fullname" }}

View File

@@ -1,8 +1,8 @@
apiVersion: v1
name: sonarqube
description: Sonarqube is an open sourced code quality scanning tool
version: 3.2.8
appVersion: 7.9.1
description: SonarQube is an open sourced code quality scanning tool
version: 3.3.0
appVersion: 7.9.2
keywords:
- coverage
- security

View File

@@ -42,7 +42,7 @@ The following table lists the configurable parameters of the Sonarqube chart and
| `replicaCount` | Number of replicas deployed | `1` |
| `deploymentStrategy` | Deployment strategy | `{}` |
| `image.repository` | image repository | `sonarqube` |
| `image.tag` | `sonarqube` image tag. | `7.9.1-community` |
| `image.tag` | `sonarqube` image tag. | `7.9.2-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) |

View File

@@ -1,7 +1,11 @@
{{- if .Values.ingress.enabled -}}
{{- $serviceName := include "sonarqube.fullname" . -}}
{{- $servicePort := .Values.service.externalPort -}}
{{- if .Capabilities.APIVersions.Has "networking.k8s.io/v1beta1" }}
apiVersion: networking.k8s.io/v1beta1
{{ else }}
apiVersion: extensions/v1beta1
{{ end -}}
kind: Ingress
metadata:
name: {{ template "sonarqube.fullname" . }}

View File

@@ -8,7 +8,7 @@ deploymentStrategy: {}
image:
repository: sonarqube
tag: 7.9.1-community
tag: 7.9.2-community
# If using a private repository, the name of the imagePullSecret to use
# pullSecret: my-repo-secret