Skip to content
Snippets Groups Projects
Unverified Commit bbf31e28 authored by groundhog2k's avatar groundhog2k Committed by GitHub
Browse files

Set update strategy to RollingUpdate instead of Recreate to prevent update collision (#127)

parent c5161f34
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,7 @@ maintainers: ...@@ -8,7 +8,7 @@ maintainers:
- name: groundhog2k - name: groundhog2k
# This is the chart version. # This is the chart version.
version: 0.3.0 version: 0.3.1
# This is the version number of the application being deployed. # This is the version number of the application being deployed.
appVersion: "20.0.3-apache" appVersion: "20.0.3-apache"
......
# Nextcloud # Nextcloud
![Version: 0.3.0](https://img.shields.io/badge/Version-0.3.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 20.0.3-apache](https://img.shields.io/badge/AppVersion-20.0.3-informational?style=flat-square) ![Version: 0.3.1](https://img.shields.io/badge/Version-0.3.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 20.0.3-apache](https://img.shields.io/badge/AppVersion-20.0.3-informational?style=flat-square)
A Helm chart for Nextcloud on Kubernetes A Helm chart for Nextcloud on Kubernetes
......
...@@ -7,7 +7,7 @@ metadata: ...@@ -7,7 +7,7 @@ metadata:
spec: spec:
replicas: {{ .Values.replicas }} replicas: {{ .Values.replicas }}
strategy: strategy:
type: Recreate type: RollingUpdate
selector: selector:
matchLabels: matchLabels:
{{- include "nextcloud.selectorLabels" . | nindent 6 }} {{- include "nextcloud.selectorLabels" . | nindent 6 }}
......
...@@ -10,4 +10,5 @@ data: ...@@ -10,4 +10,5 @@ data:
sleep {{ .Values.settings.databaseUpdateDelay }} sleep {{ .Values.settings.databaseUpdateDelay }}
php -f /var/www/html/occ db:add-missing-indices php -f /var/www/html/occ db:add-missing-indices
php -f /var/www/html/occ db:add-missing-columns php -f /var/www/html/occ db:add-missing-columns
php -f /var/www/html/occ db:add-missing-primary-keys
php -f /var/www/html/occ db:convert-filecache-bigint php -f /var/www/html/occ db:convert-filecache-bigint
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment