mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/suitecrm] Fix chart not being upgradable (#7816)
* [stable/suitecrm] Fix chart not being upgradable Signed-off-by: Javier J. Salmeron Garcia <jsalmeron@bitnami.com> * Change readme Signed-off-by: Javier J. Salmeron Garcia <jsalmeron@bitnami.com>
This commit is contained in:
committed by
k8s-ci-robot
parent
5bc369083b
commit
f2e32a352c
@@ -1,5 +1,5 @@
|
||||
name: suitecrm
|
||||
version: 2.0.7
|
||||
version: 3.0.0
|
||||
appVersion: 7.10.9
|
||||
description: SuiteCRM is a completely open source enterprise-grade Customer Relationship Management (CRM) application. SuiteCRM is a software fork of the popular customer relationship management (CRM) system SugarCRM.
|
||||
keywords:
|
||||
|
||||
@@ -126,3 +126,15 @@ The [Bitnami SuiteCRM](https://github.com/bitnami/bitnami-docker-suitecrm) 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 suitecrm:
|
||||
|
||||
```console
|
||||
$ kubectl patch deployment suitecrm-suitecrm --type=json -p='[{"op": "remove", "path": "/spec/selector/matchLabels/chart"}]'
|
||||
$ kubectl delete statefulset suitecrm-mariadb --cascade=false
|
||||
```
|
||||
|
||||
@@ -9,6 +9,10 @@ metadata:
|
||||
release: "{{ .Release.Name }}"
|
||||
heritage: "{{ .Release.Service }}"
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: {{ template "name" . }}
|
||||
release: "{{ .Release.Name }}"
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
|
||||
Reference in New Issue
Block a user