From eba90ddcddda16c87c1883bea125f2ecd9adb10a Mon Sep 17 00:00:00 2001 From: jessebot Date: Wed, 24 Jul 2024 09:26:59 +0200 Subject: [PATCH] change all the gotmpl file extensions to be tpl Signed-off-by: jessebot --- .../files/defaultConfigs/{.htaccess.gotmpl => .htaccess.tpl} | 0 ...urls.config.php.gotmpl => apache-pretty-urls.config.php.tpl} | 0 .../{apcu.config.php.gotmpl => apcu.config.php.tpl} | 0 .../{apps.config.php.gotmpl => apps.config.php.tpl} | 0 .../{autoconfig.php.gotmpl => autoconfig.php.tpl} | 0 .../{redis.config.php.gotmpl => redis.config.php.tpl} | 0 .../{smtp.config.php.gotmpl => smtp.config.php.tpl} | 0 .../nextcloud/files/{nginx.config.gotmpl => nginx.config.tpl} | 0 charts/nextcloud/templates/config.yaml | 2 +- charts/nextcloud/templates/nginx-config.yaml | 2 +- 10 files changed, 2 insertions(+), 2 deletions(-) rename charts/nextcloud/files/defaultConfigs/{.htaccess.gotmpl => .htaccess.tpl} (100%) rename charts/nextcloud/files/defaultConfigs/{apache-pretty-urls.config.php.gotmpl => apache-pretty-urls.config.php.tpl} (100%) rename charts/nextcloud/files/defaultConfigs/{apcu.config.php.gotmpl => apcu.config.php.tpl} (100%) rename charts/nextcloud/files/defaultConfigs/{apps.config.php.gotmpl => apps.config.php.tpl} (100%) rename charts/nextcloud/files/defaultConfigs/{autoconfig.php.gotmpl => autoconfig.php.tpl} (100%) rename charts/nextcloud/files/defaultConfigs/{redis.config.php.gotmpl => redis.config.php.tpl} (100%) rename charts/nextcloud/files/defaultConfigs/{smtp.config.php.gotmpl => smtp.config.php.tpl} (100%) rename charts/nextcloud/files/{nginx.config.gotmpl => nginx.config.tpl} (100%) diff --git a/charts/nextcloud/files/defaultConfigs/.htaccess.gotmpl b/charts/nextcloud/files/defaultConfigs/.htaccess.tpl similarity index 100% rename from charts/nextcloud/files/defaultConfigs/.htaccess.gotmpl rename to charts/nextcloud/files/defaultConfigs/.htaccess.tpl diff --git a/charts/nextcloud/files/defaultConfigs/apache-pretty-urls.config.php.gotmpl b/charts/nextcloud/files/defaultConfigs/apache-pretty-urls.config.php.tpl similarity index 100% rename from charts/nextcloud/files/defaultConfigs/apache-pretty-urls.config.php.gotmpl rename to charts/nextcloud/files/defaultConfigs/apache-pretty-urls.config.php.tpl diff --git a/charts/nextcloud/files/defaultConfigs/apcu.config.php.gotmpl b/charts/nextcloud/files/defaultConfigs/apcu.config.php.tpl similarity index 100% rename from charts/nextcloud/files/defaultConfigs/apcu.config.php.gotmpl rename to charts/nextcloud/files/defaultConfigs/apcu.config.php.tpl diff --git a/charts/nextcloud/files/defaultConfigs/apps.config.php.gotmpl b/charts/nextcloud/files/defaultConfigs/apps.config.php.tpl similarity index 100% rename from charts/nextcloud/files/defaultConfigs/apps.config.php.gotmpl rename to charts/nextcloud/files/defaultConfigs/apps.config.php.tpl diff --git a/charts/nextcloud/files/defaultConfigs/autoconfig.php.gotmpl b/charts/nextcloud/files/defaultConfigs/autoconfig.php.tpl similarity index 100% rename from charts/nextcloud/files/defaultConfigs/autoconfig.php.gotmpl rename to charts/nextcloud/files/defaultConfigs/autoconfig.php.tpl diff --git a/charts/nextcloud/files/defaultConfigs/redis.config.php.gotmpl b/charts/nextcloud/files/defaultConfigs/redis.config.php.tpl similarity index 100% rename from charts/nextcloud/files/defaultConfigs/redis.config.php.gotmpl rename to charts/nextcloud/files/defaultConfigs/redis.config.php.tpl diff --git a/charts/nextcloud/files/defaultConfigs/smtp.config.php.gotmpl b/charts/nextcloud/files/defaultConfigs/smtp.config.php.tpl similarity index 100% rename from charts/nextcloud/files/defaultConfigs/smtp.config.php.gotmpl rename to charts/nextcloud/files/defaultConfigs/smtp.config.php.tpl diff --git a/charts/nextcloud/files/nginx.config.gotmpl b/charts/nextcloud/files/nginx.config.tpl similarity index 100% rename from charts/nextcloud/files/nginx.config.gotmpl rename to charts/nextcloud/files/nginx.config.tpl diff --git a/charts/nextcloud/templates/config.yaml b/charts/nextcloud/templates/config.yaml index d5616f06..1496498f 100644 --- a/charts/nextcloud/templates/config.yaml +++ b/charts/nextcloud/templates/config.yaml @@ -16,7 +16,7 @@ data: {{- range $filename, $enabled := .Values.nextcloud.defaultConfigs }} {{- if $enabled }} {{ $filename }}: |- - {{- tpl ($.Files.Get (printf "files/defaultConfigs/%s.gotmpl" $filename)) $ | nindent 4 }} + {{- tpl ($.Files.Get (printf "files/defaultConfigs/%s.tpl" $filename)) $ | nindent 4 }} {{- end }} {{- end }} {{- end }}{{/* end-if configs */}} diff --git a/charts/nextcloud/templates/nginx-config.yaml b/charts/nextcloud/templates/nginx-config.yaml index 498b5a3d..53a4dc0d 100644 --- a/charts/nextcloud/templates/nginx-config.yaml +++ b/charts/nextcloud/templates/nginx-config.yaml @@ -12,7 +12,7 @@ metadata: data: {{- if .Values.nginx.config.default }} default.conf: |- - {{- tpl (.Files.Get "files/nginx.config.gotmpl") . | nindent 4 }} + {{- tpl (.Files.Get "files/nginx.config.tpl") . | nindent 4 }} {{- end }} {{- with .Values.nginx.config.custom }} zz-custom.conf: |-