diff --git a/stable/parse/Chart.yaml b/stable/parse/Chart.yaml index daac43a1d423..80055a65fb54 100644 --- a/stable/parse/Chart.yaml +++ b/stable/parse/Chart.yaml @@ -1,5 +1,5 @@ name: parse -version: 2.0.6 +version: 3.0.0 appVersion: 3.0.0 description: Parse is a platform that enables users to add a scalable and powerful backend to launch a full-featured app for iOS, Android, JavaScript, Windows, Unity, and more. keywords: diff --git a/stable/parse/README.md b/stable/parse/README.md index bf37e1986c3a..41fc4246d07e 100644 --- a/stable/parse/README.md +++ b/stable/parse/README.md @@ -118,3 +118,16 @@ The [Bitnami Parse](https://github.com/bitnami/bitnami-docker-parse) image store 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 parse: + +```console +$ kubectl patch deployment parse-parse-dashboard --type=json -p='[{"op": "remove", "path": "/spec/selector/matchLabels/chart"}]' +$ kubectl patch deployment parse-parse-server --type=json -p='[{"op": "remove", "path": "/spec/selector/matchLabels/chart"}]' +$ kubectl patch deployment parse-mongodb --type=json -p='[{"op": "remove", "path": "/spec/selector/matchLabels/chart"}]' +``` diff --git a/stable/parse/templates/dashboard-deployment.yaml b/stable/parse/templates/dashboard-deployment.yaml index 5356412e67e5..f794e3bb112a 100644 --- a/stable/parse/templates/dashboard-deployment.yaml +++ b/stable/parse/templates/dashboard-deployment.yaml @@ -10,6 +10,11 @@ metadata: heritage: "{{ .Release.Service }}" component: "dashboard" spec: + selector: + matchLabels: + app: {{ template "parse.name" . }} + release: "{{ .Release.Name }}" + component: "dashboard" replicas: 1 template: metadata: diff --git a/stable/parse/templates/server-deployment.yaml b/stable/parse/templates/server-deployment.yaml index 4498cdaa4469..e465c348b4f1 100644 --- a/stable/parse/templates/server-deployment.yaml +++ b/stable/parse/templates/server-deployment.yaml @@ -9,6 +9,11 @@ metadata: heritage: "{{ .Release.Service }}" component: "server" spec: + selector: + matchLabels: + app: {{ template "parse.name" . }} + release: "{{ .Release.Name }}" + component: "server" replicas: 1 template: metadata: