From 83691d94e663f369ae7e0d47ee5c6cf991c8e924 Mon Sep 17 00:00:00 2001 From: Remi Rampin Date: Fri, 27 Jan 2023 11:48:00 -0500 Subject: [PATCH] Remove nextcloud.update from values This should not have been exposed. There is no way to use it, since you can't pass a custom command to the container. Signed-off-by: Remi Rampin --- charts/nextcloud/README.md | 1 - charts/nextcloud/templates/_helpers.tpl | 4 ---- 2 files changed, 5 deletions(-) diff --git a/charts/nextcloud/README.md b/charts/nextcloud/README.md index c0fac696..97062fdc 100644 --- a/charts/nextcloud/README.md +++ b/charts/nextcloud/README.md @@ -73,7 +73,6 @@ The following table lists the configurable parameters of the nextcloud chart and | `nextcloud.existingSecret.passwordKey` | Name of the key that contains the password | `nil` | | `nextcloud.existingSecret.smtpUsernameKey` | Name of the key that contains the SMTP username | `nil` | | `nextcloud.existingSecret.smtpPasswordKey` | Name of the key that contains the SMTP password | `nil` | -| `nextcloud.update` | Trigger update if custom command is used | `0` | | `nextcloud.containerPort` | Customize container port when not running as root | `80` | | `nextcloud.datadir` | nextcloud data dir location | `/var/www/html/data` | | `nextcloud.mail.enabled` | Whether to enable/disable email settings | `false` | diff --git a/charts/nextcloud/templates/_helpers.tpl b/charts/nextcloud/templates/_helpers.tpl index 4635374b..0c24dbf2 100644 --- a/charts/nextcloud/templates/_helpers.tpl +++ b/charts/nextcloud/templates/_helpers.tpl @@ -152,10 +152,6 @@ Create environment variables used to configure the nextcloud container as well a key: {{ .Values.nextcloud.existingSecret.passwordKey | default "nextcloud-password" }} - name: NEXTCLOUD_TRUSTED_DOMAINS value: {{ .Values.nextcloud.host }} -{{- if ne (int .Values.nextcloud.update) 0 }} -- name: NEXTCLOUD_UPDATE - value: {{ .Values.nextcloud.update | quote }} -{{- end }} - name: NEXTCLOUD_DATA_DIR value: {{ .Values.nextcloud.datadir | quote }} {{- if .Values.nextcloud.mail.enabled }}