diff --git a/upstreamed/owncloud/Chart.yaml b/upstreamed/owncloud/Chart.yaml index 62b7ab71b..fe3309e98 100644 --- a/upstreamed/owncloud/Chart.yaml +++ b/upstreamed/owncloud/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: owncloud -version: 8.0.3 +version: 8.1.0 appVersion: 10.3.2 description: A file sharing server that puts the control and security of your own data back into your hands. keywords: diff --git a/upstreamed/owncloud/README.md b/upstreamed/owncloud/README.md index bd1f7ec1a..d1a556ae5 100644 --- a/upstreamed/owncloud/README.md +++ b/upstreamed/owncloud/README.md @@ -95,6 +95,7 @@ The following table lists the configurable parameters of the ownCloud chart and | `persistence.owncloud.existingClaim`| An Existing PVC name for ownCloud volume | `nil` (uses alpha storage class annotation) | | `persistence.owncloud.accessMode` | PVC Access Mode for ownCloud volume | `ReadWriteOnce` | | `persistence.owncloud.size` | PVC Storage Request for ownCloud volume | `8Gi` | +| `updateStrategy.type` | Owncloud deployment strategy | `RollingUpdate` | | `resources` | CPU/Memory resource requests/limits | Memory: `512Mi`, CPU: `300m` | | `podAnnotations` | Pod annotations | `{}` | | `affinity` | Map of node/pod affinities | `{}` | diff --git a/upstreamed/owncloud/templates/deployment.yaml b/upstreamed/owncloud/templates/deployment.yaml index c162aad50..971b1f8c4 100644 --- a/upstreamed/owncloud/templates/deployment.yaml +++ b/upstreamed/owncloud/templates/deployment.yaml @@ -14,6 +14,9 @@ spec: app: {{ template "owncloud.fullname" . }} release: "{{ .Release.Name }}" replicas: 1 +{{- if .Values.updateStrategy }} + strategy: {{ toYaml .Values.updateStrategy | nindent 4 }} +{{- end }} template: metadata: labels: diff --git a/upstreamed/owncloud/values.yaml b/upstreamed/owncloud/values.yaml index f173af79c..d29132e42 100644 --- a/upstreamed/owncloud/values.yaml +++ b/upstreamed/owncloud/values.yaml @@ -218,6 +218,17 @@ persistence: accessMode: ReadWriteOnce size: 8Gi +## Set up update strategy for the ownCloud installation. +## ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy +## Example: +# updateStrategy: +# type: RollingUpdate +# rollingUpdate: +# maxSurge: 25% +# maxUnavailable: 25% +updateStrategy: + type: RollingUpdate + ## Configure resource requests and limits ## ref: http://kubernetes.io/docs/user-guide/compute-resources/ ##