From e1934b2d84222afda0570d6e00ff307b3c993257 Mon Sep 17 00:00:00 2001
From: groundhog2k <10630407+groundhog2k@users.noreply.github.com>
Date: Tue, 24 Nov 2020 17:44:06 +0100
Subject: [PATCH] Improved post-upgrade (#76)

---
 charts/nextcloud/Chart.yaml                  | 2 +-
 charts/nextcloud/README.md                   | 2 +-
 charts/nextcloud/templates/post-upgrade.yaml | 8 --------
 3 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/charts/nextcloud/Chart.yaml b/charts/nextcloud/Chart.yaml
index 1271d1d6..e2ee5e38 100644
--- a/charts/nextcloud/Chart.yaml
+++ b/charts/nextcloud/Chart.yaml
@@ -8,7 +8,7 @@ maintainers:
   - name: groundhog2k
 
 # This is the chart version.
-version: 0.2.2
+version: 0.2.3
 
 # This is the version number of the application being deployed.
 appVersion: "20.0.2-apache"
diff --git a/charts/nextcloud/README.md b/charts/nextcloud/README.md
index cf5dac55..9c083b04 100644
--- a/charts/nextcloud/README.md
+++ b/charts/nextcloud/README.md
@@ -1,6 +1,6 @@
 #  Nextcloud
 
-![Version: 0.2.2](https://img.shields.io/badge/Version-0.2.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 20.0.2-apache](https://img.shields.io/badge/AppVersion-20.0.2-informational?style=flat-square)
+![Version: 0.2.3](https://img.shields.io/badge/Version-0.2.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 20.0.2-apache](https://img.shields.io/badge/AppVersion-20.0.2-informational?style=flat-square)
 
 A Helm chart for Nextcloud on Kubernetes
 
diff --git a/charts/nextcloud/templates/post-upgrade.yaml b/charts/nextcloud/templates/post-upgrade.yaml
index b9b23746..57def42f 100644
--- a/charts/nextcloud/templates/post-upgrade.yaml
+++ b/charts/nextcloud/templates/post-upgrade.yaml
@@ -49,14 +49,6 @@ spec:
       nodeSelector:
         {{- toYaml . | nindent 8 }}
       {{- end }}
-      {{- with .Values.affinity }}
-      affinity:
-        {{- toYaml . | nindent 8 }}
-      {{- end }}
-      {{- with .Values.tolerations }}
-      tolerations:
-        {{- toYaml . | nindent 8 }}
-      {{- end }}
       volumes:
         - name: tmp
           emptyDir: {}
-- 
GitLab