From 31df336bf08c5add4b1a2e772b379db540669493 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 13 Oct 2022 17:01:48 +0200 Subject: [PATCH 1/3] feat: add option to configure storageClassName --- charts/owncloud/templates/pvc.yaml | 2 +- charts/owncloud/values.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/charts/owncloud/templates/pvc.yaml b/charts/owncloud/templates/pvc.yaml index d19e777..6ad5285 100644 --- a/charts/owncloud/templates/pvc.yaml +++ b/charts/owncloud/templates/pvc.yaml @@ -25,5 +25,5 @@ spec: resources: requests: storage: {{ .Values.persistence.owncloud.size }} - storageClassName: standard + storageClassName: {{ .Values.persistence.owncloud.storageClassName }} {{- end -}} diff --git a/charts/owncloud/values.yaml b/charts/owncloud/values.yaml index 3a62bbd..c0ff921 100644 --- a/charts/owncloud/values.yaml +++ b/charts/owncloud/values.yaml @@ -401,6 +401,7 @@ persistence: # -- Enables persistence. enabled: true owncloud: + storageClassName: standard accessMode: - ReadWriteOnce size: 20Gi From 3e7590549901ad59dddc57976a240a16a8bfbb39 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 13 Oct 2022 17:32:56 +0200 Subject: [PATCH 2/3] trigger ci From ed5f005166ea039ad0f6c8275960e4625e8eb512 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 13 Oct 2022 17:35:14 +0200 Subject: [PATCH 3/3] fix docs --- charts/owncloud/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/charts/owncloud/README.md b/charts/owncloud/README.md index 5a8fc91..30fa87e 100644 --- a/charts/owncloud/README.md +++ b/charts/owncloud/README.md @@ -256,6 +256,7 @@ A major chart version change (like v1.2.3 -> v2.0.0) indicates that there is an | persistence.owncloud.accessMode[0] | string | `"ReadWriteOnce"` | | | persistence.owncloud.nfs | object | `{}` | | | persistence.owncloud.size | string | `"20Gi"` | | +| persistence.owncloud.storageClassName | string | `"standard"` | | | podAnnotations | object | `{}` | Annotations to attach metadata to the Pod. | | podSecurityContext | object | `{}` | Security settings for the Pod. | | replicas | int | `1` | Number of replicas for each scalable service. Has no effect when `autoscaling.enabled` is set to `true`. |