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:
committed by
Kubernetes Prow Robot
parent
4c39ce95e1
commit
9402a760e5
@@ -279,7 +279,11 @@ ingress:
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
{{- if .Values.ingress.enabled -}}
|
{{- if .Values.ingress.enabled -}}
|
||||||
|
{{- if .Capabilities.APIVersions.Has "networking.k8s.io/v1beta1" }}
|
||||||
|
apiVersion: networking.k8s.io/v1beta1
|
||||||
|
{{ else }}
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: extensions/v1beta1
|
||||||
|
{{ end -}}
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "myapp.fullname" }}
|
name: {{ include "myapp.fullname" }}
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
name: sonarqube
|
name: sonarqube
|
||||||
description: Sonarqube is an open sourced code quality scanning tool
|
description: SonarQube is an open sourced code quality scanning tool
|
||||||
version: 3.2.8
|
version: 3.3.0
|
||||||
appVersion: 7.9.1
|
appVersion: 7.9.2
|
||||||
keywords:
|
keywords:
|
||||||
- coverage
|
- coverage
|
||||||
- security
|
- security
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ The following table lists the configurable parameters of the Sonarqube chart and
|
|||||||
| `replicaCount` | Number of replicas deployed | `1` |
|
| `replicaCount` | Number of replicas deployed | `1` |
|
||||||
| `deploymentStrategy` | Deployment strategy | `{}` |
|
| `deploymentStrategy` | Deployment strategy | `{}` |
|
||||||
| `image.repository` | image repository | `sonarqube` |
|
| `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.pullPolicy` | Image pull policy | `IfNotPresent` |
|
||||||
| `image.pullSecret` | imagePullSecret to use for private repository | |
|
| `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) |
|
| `command` | command to run in the container | `nil` (need to be set prior to 6.7.6, and 7.4) |
|
||||||
|
|||||||
@@ -1,7 +1,11 @@
|
|||||||
{{- if .Values.ingress.enabled -}}
|
{{- if .Values.ingress.enabled -}}
|
||||||
{{- $serviceName := include "sonarqube.fullname" . -}}
|
{{- $serviceName := include "sonarqube.fullname" . -}}
|
||||||
{{- $servicePort := .Values.service.externalPort -}}
|
{{- $servicePort := .Values.service.externalPort -}}
|
||||||
|
{{- if .Capabilities.APIVersions.Has "networking.k8s.io/v1beta1" }}
|
||||||
|
apiVersion: networking.k8s.io/v1beta1
|
||||||
|
{{ else }}
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: extensions/v1beta1
|
||||||
|
{{ end -}}
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "sonarqube.fullname" . }}
|
name: {{ template "sonarqube.fullname" . }}
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ deploymentStrategy: {}
|
|||||||
|
|
||||||
image:
|
image:
|
||||||
repository: sonarqube
|
repository: sonarqube
|
||||||
tag: 7.9.1-community
|
tag: 7.9.2-community
|
||||||
# If using a private repository, the name of the imagePullSecret to use
|
# If using a private repository, the name of the imagePullSecret to use
|
||||||
# pullSecret: my-repo-secret
|
# pullSecret: my-repo-secret
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user