From e47fc0cf9a0fd198ee9d487b486492b00a596d4d Mon Sep 17 00:00:00 2001 From: Niklas Liechti Date: Tue, 23 Jul 2024 11:16:24 +0200 Subject: [PATCH 1/2] Add possibility to configure custom dnsConfig on the nextcloud images. Signed-off-by: Niklas Liechti --- charts/nextcloud/README.md | 1 + charts/nextcloud/templates/deployment.yaml | 4 ++++ charts/nextcloud/values.yaml | 6 ++++++ 3 files changed, 11 insertions(+) diff --git a/charts/nextcloud/README.md b/charts/nextcloud/README.md index cc569c37..a6c0349e 100644 --- a/charts/nextcloud/README.md +++ b/charts/nextcloud/README.md @@ -202,6 +202,7 @@ The following table lists the configurable parameters of the nextcloud chart and | `deploymentAnnotations` | Annotations to be added at 'deployment' level | not set | | `podLabels` | Labels to be added at 'pod' level | not set | | `podAnnotations` | Annotations to be added at 'pod' level | not set | +| `dnsConfig` | Custom dnsConfig for nextcloud containers | `{}` | ### Database Configurations diff --git a/charts/nextcloud/templates/deployment.yaml b/charts/nextcloud/templates/deployment.yaml index 51a79d67..db73a64d 100644 --- a/charts/nextcloud/templates/deployment.yaml +++ b/charts/nextcloud/templates/deployment.yaml @@ -396,3 +396,7 @@ spec: {{- if .Values.rbac.enabled }} serviceAccountName: {{ .Values.rbac.serviceaccount.name }} {{- end }} + {{- with .Values.dnsConfig }} + dnsConfig: + {{- toYaml . | nindent 8 }} + {{- end }} diff --git a/charts/nextcloud/values.yaml b/charts/nextcloud/values.yaml index 82de3596..6184a711 100644 --- a/charts/nextcloud/values.yaml +++ b/charts/nextcloud/values.yaml @@ -502,6 +502,12 @@ tolerations: [] affinity: {} +dnsConfig: {} +# Custom dns config for Nextcloud containers. +# You can for example configure ndots. This may be needed in some clusters with alpine images. +# options: +# - name: ndots +# value: "1" ## Prometheus Exporter / Metrics ## From d09707317cb391cd8f0eea00cd9952361d0006b1 Mon Sep 17 00:00:00 2001 From: Niklas Liechti Date: Tue, 23 Jul 2024 12:39:21 +0200 Subject: [PATCH 2/2] Bump chart Version to 5.3.0 Signed-off-by: Niklas Liechti --- charts/nextcloud/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/nextcloud/Chart.yaml b/charts/nextcloud/Chart.yaml index a81e7869..3b051a66 100644 --- a/charts/nextcloud/Chart.yaml +++ b/charts/nextcloud/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: nextcloud -version: 5.2.2 +version: 5.3.0 appVersion: 29.0.3 description: A file sharing server that puts the control and security of your own data back into your hands. keywords: