Explorar o código

Publish new changes in catalog

sonicaj hai 1 ano
pai
achega
ea0d419765
Modificáronse 28 ficheiros con 16 adicións e 10 borrados
  1. 0 0
      charts/nextcloud/1.6.44/.helmignore
  2. 0 0
      charts/nextcloud/1.6.44/Chart.lock
  3. 1 1
      charts/nextcloud/1.6.44/Chart.yaml
  4. 0 0
      charts/nextcloud/1.6.44/README.md
  5. 0 0
      charts/nextcloud/1.6.44/app-readme.md
  6. 0 0
      charts/nextcloud/1.6.44/charts/common-2304.0.1.tgz
  7. 0 0
      charts/nextcloud/1.6.44/ci/test-values.yaml
  8. 0 0
      charts/nextcloud/1.6.44/ix_values.yaml
  9. 0 0
      charts/nextcloud/1.6.44/metadata.yaml
  10. 0 0
      charts/nextcloud/1.6.44/migrations/migrate_from_1.1.0
  11. 0 0
      charts/nextcloud/1.6.44/questions.yaml
  12. 0 0
      charts/nextcloud/1.6.44/templates/NOTES.txt
  13. 0 0
      charts/nextcloud/1.6.44/templates/_nginx.tpl
  14. 0 0
      charts/nextcloud/1.6.44/templates/_postgres.tpl
  15. 0 0
      charts/nextcloud/1.6.44/templates/backup-postgres-config.yaml
  16. 0 0
      charts/nextcloud/1.6.44/templates/backup-postgres-hook.yaml
  17. 0 0
      charts/nextcloud/1.6.44/templates/cronjob.yaml
  18. 0 0
      charts/nextcloud/1.6.44/templates/deployment.yaml
  19. 0 0
      charts/nextcloud/1.6.44/templates/nextcloud-configmap.yaml
  20. 15 9
      charts/nextcloud/1.6.44/templates/nginx-configmap.yaml
  21. 0 0
      charts/nextcloud/1.6.44/templates/nginx-secret.yaml
  22. 0 0
      charts/nextcloud/1.6.44/templates/nuke-deployments-hook.yaml
  23. 0 0
      charts/nextcloud/1.6.44/templates/postgres-deployment.yaml
  24. 0 0
      charts/nextcloud/1.6.44/templates/postgres-secret.yaml
  25. 0 0
      charts/nextcloud/1.6.44/templates/postgres-service.yaml
  26. 0 0
      charts/nextcloud/1.6.44/templates/secrets.yaml
  27. 0 0
      charts/nextcloud/1.6.44/templates/service.yaml
  28. 0 0
      charts/nextcloud/1.6.44/templates/serviceaccount.yaml

+ 0 - 0
charts/nextcloud/1.6.43/.helmignore → charts/nextcloud/1.6.44/.helmignore


+ 0 - 0
charts/nextcloud/1.6.43/Chart.lock → charts/nextcloud/1.6.44/Chart.lock


+ 1 - 1
charts/nextcloud/1.6.43/Chart.yaml → charts/nextcloud/1.6.44/Chart.yaml

@@ -4,7 +4,7 @@ description: A file sharing server that puts the control and security of your ow
 annotations:
   title: Nextcloud
 type: application
-version: 1.6.43
+version: 1.6.44
 apiVersion: v2
 appVersion: 27.0.2
 kubeVersion: '>=1.16.0-0'

+ 0 - 0
charts/nextcloud/1.6.43/README.md → charts/nextcloud/1.6.44/README.md


+ 0 - 0
charts/nextcloud/1.6.43/app-readme.md → charts/nextcloud/1.6.44/app-readme.md


+ 0 - 0
charts/nextcloud/1.6.43/charts/common-2304.0.1.tgz → charts/nextcloud/1.6.44/charts/common-2304.0.1.tgz


+ 0 - 0
charts/nextcloud/1.6.43/ci/test-values.yaml → charts/nextcloud/1.6.44/ci/test-values.yaml


+ 0 - 0
charts/nextcloud/1.6.43/ix_values.yaml → charts/nextcloud/1.6.44/ix_values.yaml


+ 0 - 0
charts/nextcloud/1.6.43/metadata.yaml → charts/nextcloud/1.6.44/metadata.yaml


+ 0 - 0
charts/nextcloud/1.6.43/migrations/migrate_from_1.1.0 → charts/nextcloud/1.6.44/migrations/migrate_from_1.1.0


+ 0 - 0
charts/nextcloud/1.6.43/questions.yaml → charts/nextcloud/1.6.44/questions.yaml


+ 0 - 0
charts/nextcloud/1.6.43/templates/NOTES.txt → charts/nextcloud/1.6.44/templates/NOTES.txt


+ 0 - 0
charts/nextcloud/1.6.43/templates/_nginx.tpl → charts/nextcloud/1.6.44/templates/_nginx.tpl


+ 0 - 0
charts/nextcloud/1.6.43/templates/_postgres.tpl → charts/nextcloud/1.6.44/templates/_postgres.tpl


+ 0 - 0
charts/nextcloud/1.6.43/templates/backup-postgres-config.yaml → charts/nextcloud/1.6.44/templates/backup-postgres-config.yaml


+ 0 - 0
charts/nextcloud/1.6.43/templates/backup-postgres-hook.yaml → charts/nextcloud/1.6.44/templates/backup-postgres-hook.yaml


+ 0 - 0
charts/nextcloud/1.6.43/templates/cronjob.yaml → charts/nextcloud/1.6.44/templates/cronjob.yaml


+ 0 - 0
charts/nextcloud/1.6.43/templates/deployment.yaml → charts/nextcloud/1.6.44/templates/deployment.yaml


+ 0 - 0
charts/nextcloud/1.6.43/templates/nextcloud-configmap.yaml → charts/nextcloud/1.6.44/templates/nextcloud-configmap.yaml


+ 15 - 9
charts/nextcloud/1.6.43/templates/nginx-configmap.yaml → charts/nextcloud/1.6.44/templates/nginx-configmap.yaml

@@ -6,15 +6,21 @@ data:
   protocol: {{ include "nginx.scheme" . }}
   {{ $timeout := 60 }}
   {{ $size := .Values.nextcloud.max_upload_size | default 3 }}
-  {{ $externalAccessPort := printf ":%v" .Values.nginxConfig.externalAccessPort }}
-  {{/* If its 443, do not append it on the rewrite at all */}}
-  {{ if eq $externalAccessPort ":443" }}
-    {{ $externalAccessPort = "" }}
-  {{ end }}
+
+  {{ $useDiffAccessPort := false }}
+  {{ $externalAccessPort := "" }}
+
   {{/* Safely access key as it is conditionaly shown */}}
   {{ if hasKey .Values "nginxConfig" }}
+    {{ $useDiffAccessPort = .Values.useDifferentAccessPort }}
+    {{ $externalAccessPort = printf ":%v" .Values.nginxConfig.externalAccessPort }}
     {{ $timeout = .Values.nginxConfig.proxy_timeouts | default 60 }}
   {{ end }}
+
+  {{/* If its 443, do not append it on the rewrite at all */}}
+  {{ if eq $externalAccessPort ":443" }}
+    {{ $externalAccessPort = "" }}
+  {{ end }}
   nginx.conf: |-
     events {}
     http {
@@ -46,7 +52,7 @@ data:
         }
 
         location = /.well-known/carddav {
-          {{ if .Values.nginxConfig.useDifferentAccessPort }}
+          {{ if $useDiffAccessPort }}
           return 301 $scheme://$host{{ $externalAccessPort }}/remote.php/dav;
           {{ else }}
           return 301 $scheme://$host:$server_port/remote.php/dav;
@@ -54,7 +60,7 @@ data:
         }
 
         location = /.well-known/caldav {
-          {{ if .Values.nginxConfig.useDifferentAccessPort }}
+          {{ if $useDiffAccessPort }}
           return 301 $scheme://$host{{ $externalAccessPort }}/remote.php/dav;
           {{ else }}
           return 301 $scheme://$host:$server_port/remote.php/dav;
@@ -75,8 +81,8 @@ data:
           proxy_set_header X-Forwarded-For   $proxy_add_x_forwarded_for;
           proxy_set_header X-Forwarded-Proto https;
           proxy_set_header X-Forwarded-Host  $host;
-          {{ if .Values.nginxConfig.useDifferentAccessPort }}
-          proxy_set_header X-Forwarded-Port  {{ .Values.nginxConfig.externalAccessPort }};
+          {{ if $useDiffAccessPort }}
+          proxy_set_header X-Forwarded-Port  {{ $externalAccessPort | default "443" | trimPrefix ":" }};
           {{ else }}
           proxy_set_header X-Forwarded-Port  $server_port;
           {{ end }}

+ 0 - 0
charts/nextcloud/1.6.43/templates/nginx-secret.yaml → charts/nextcloud/1.6.44/templates/nginx-secret.yaml


+ 0 - 0
charts/nextcloud/1.6.43/templates/nuke-deployments-hook.yaml → charts/nextcloud/1.6.44/templates/nuke-deployments-hook.yaml


+ 0 - 0
charts/nextcloud/1.6.43/templates/postgres-deployment.yaml → charts/nextcloud/1.6.44/templates/postgres-deployment.yaml


+ 0 - 0
charts/nextcloud/1.6.43/templates/postgres-secret.yaml → charts/nextcloud/1.6.44/templates/postgres-secret.yaml


+ 0 - 0
charts/nextcloud/1.6.43/templates/postgres-service.yaml → charts/nextcloud/1.6.44/templates/postgres-service.yaml


+ 0 - 0
charts/nextcloud/1.6.43/templates/secrets.yaml → charts/nextcloud/1.6.44/templates/secrets.yaml


+ 0 - 0
charts/nextcloud/1.6.43/templates/service.yaml → charts/nextcloud/1.6.44/templates/service.yaml


+ 0 - 0
charts/nextcloud/1.6.43/templates/serviceaccount.yaml → charts/nextcloud/1.6.44/templates/serviceaccount.yaml