mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/testlink] Fix chart not being upgradable (#7853)
Signed-off-by: Javier J. Salmeron Garcia <jsalmeron@bitnami.com>
This commit is contained in:
committed by
k8s-ci-robot
parent
199668aa05
commit
bbf424a10e
@@ -1,5 +1,5 @@
|
||||
name: testlink
|
||||
version: 2.1.0
|
||||
version: 3.0.0
|
||||
appVersion: 1.9.17
|
||||
description: Web-based test management system that facilitates software quality assurance.
|
||||
icon: https://bitnami.com/assets/stacks/testlink/img/testlink-stack-220x234.png
|
||||
|
||||
@@ -108,3 +108,15 @@ The [Bitnami TestLink](https://github.com/bitnami/bitnami-docker-testlink) image
|
||||
|
||||
Persistent Volume Claims are used to keep the data across deployments. This is known to work in GCE, AWS, and minikube.
|
||||
See the [Configuration](#configuration) section to configure the PVC or to disable persistence.
|
||||
|
||||
## Upgrading
|
||||
|
||||
### To 3.0.0
|
||||
|
||||
Backwards compatibility is not guaranteed unless you modify the labels used on the chart's deployments.
|
||||
Use the workaround below to upgrade from versions previous to 3.0.0. The following example assumes that the release name is testlink:
|
||||
|
||||
```console
|
||||
$ kubectl patch deployment testlink-testlink --type=json -p='[{"op": "remove", "path": "/spec/selector/matchLabels/chart"}]'
|
||||
$ kubectl delete statefulset testlink-mariadb --cascade=false
|
||||
```
|
||||
|
||||
@@ -8,6 +8,10 @@ metadata:
|
||||
release: "{{ .Release.Name }}"
|
||||
heritage: "{{ .Release.Service }}"
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: {{ template "fullname" . }}
|
||||
release: "{{ .Release.Name }}"
|
||||
replicas: 1
|
||||
template:
|
||||
metadata:
|
||||
|
||||
Reference in New Issue
Block a user