소스 검색

Publish new changes in catalog

sonicaj 2 년 전
부모
커밋
4130181f66
27개의 변경된 파일29개의 추가작업 그리고 9개의 파일을 삭제
  1. 0 0
      charts/nextcloud/1.6.32/.helmignore
  2. 0 0
      charts/nextcloud/1.6.32/Chart.lock
  3. 1 1
      charts/nextcloud/1.6.32/Chart.yaml
  4. 0 0
      charts/nextcloud/1.6.32/README.md
  5. 0 0
      charts/nextcloud/1.6.32/app-readme.md
  6. 0 0
      charts/nextcloud/1.6.32/charts/common-2304.0.1.tgz
  7. 1 0
      charts/nextcloud/1.6.32/ci/test-values.yaml
  8. 0 0
      charts/nextcloud/1.6.32/ix_values.yaml
  9. 0 0
      charts/nextcloud/1.6.32/metadata.yaml
  10. 0 0
      charts/nextcloud/1.6.32/migrations/migrate_from_1.1.0
  11. 6 0
      charts/nextcloud/1.6.32/questions.yaml
  12. 0 0
      charts/nextcloud/1.6.32/templates/NOTES.txt
  13. 0 0
      charts/nextcloud/1.6.32/templates/_nginx.tpl
  14. 0 0
      charts/nextcloud/1.6.32/templates/_postgres.tpl
  15. 0 0
      charts/nextcloud/1.6.32/templates/backup-postgres-config.yaml
  16. 0 0
      charts/nextcloud/1.6.32/templates/backup-postgres-hook.yaml
  17. 0 0
      charts/nextcloud/1.6.32/templates/cronjob.yaml
  18. 21 8
      charts/nextcloud/1.6.32/templates/deployment.yaml
  19. 0 0
      charts/nextcloud/1.6.32/templates/nginx-configmap.yaml
  20. 0 0
      charts/nextcloud/1.6.32/templates/nginx-secret.yaml
  21. 0 0
      charts/nextcloud/1.6.32/templates/nuke-deployments-hook.yaml
  22. 0 0
      charts/nextcloud/1.6.32/templates/postgres-deployment.yaml
  23. 0 0
      charts/nextcloud/1.6.32/templates/postgres-secret.yaml
  24. 0 0
      charts/nextcloud/1.6.32/templates/postgres-service.yaml
  25. 0 0
      charts/nextcloud/1.6.32/templates/secrets.yaml
  26. 0 0
      charts/nextcloud/1.6.32/templates/service.yaml
  27. 0 0
      charts/nextcloud/1.6.32/templates/serviceaccount.yaml

+ 0 - 0
charts/nextcloud/1.6.31/.helmignore → charts/nextcloud/1.6.32/.helmignore


+ 0 - 0
charts/nextcloud/1.6.31/Chart.lock → charts/nextcloud/1.6.32/Chart.lock


+ 1 - 1
charts/nextcloud/1.6.31/Chart.yaml → charts/nextcloud/1.6.32/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.31
+version: 1.6.32
 apiVersion: v2
 appVersion: 27.0.0
 kubeVersion: '>=1.16.0-0'

+ 0 - 0
charts/nextcloud/1.6.31/README.md → charts/nextcloud/1.6.32/README.md


+ 0 - 0
charts/nextcloud/1.6.31/app-readme.md → charts/nextcloud/1.6.32/app-readme.md


+ 0 - 0
charts/nextcloud/1.6.31/charts/common-2304.0.1.tgz → charts/nextcloud/1.6.32/charts/common-2304.0.1.tgz


+ 1 - 0
charts/nextcloud/1.6.31/ci/test-values.yaml → charts/nextcloud/1.6.32/ci/test-values.yaml

@@ -14,6 +14,7 @@ nextcloud:
   datadir: /var/www/html/data
   host: nextcloud.kube.home
   install_ffmpeg: true
+  install_smbclient: true
   password: changeme
   username: admin
 postgresAppVolumeMounts:

+ 0 - 0
charts/nextcloud/1.6.31/ix_values.yaml → charts/nextcloud/1.6.32/ix_values.yaml


+ 0 - 0
charts/nextcloud/1.6.31/metadata.yaml → charts/nextcloud/1.6.32/metadata.yaml


+ 0 - 0
charts/nextcloud/1.6.31/migrations/migrate_from_1.1.0 → charts/nextcloud/1.6.32/migrations/migrate_from_1.1.0


+ 6 - 0
charts/nextcloud/1.6.31/questions.yaml → charts/nextcloud/1.6.32/questions.yaml

@@ -110,6 +110,12 @@ questions:
           schema:
             type: boolean
             default: false
+        - variable: install_smbclient
+          label: "Install smbclient"
+          description: "Automatically Install smbclient when the container starts"
+          schema:
+            type: boolean
+            default: false
 
   - variable: cronjob
     description: "Setup cronjob for nextcloud"

+ 0 - 0
charts/nextcloud/1.6.31/templates/NOTES.txt → charts/nextcloud/1.6.32/templates/NOTES.txt


+ 0 - 0
charts/nextcloud/1.6.31/templates/_nginx.tpl → charts/nextcloud/1.6.32/templates/_nginx.tpl


+ 0 - 0
charts/nextcloud/1.6.31/templates/_postgres.tpl → charts/nextcloud/1.6.32/templates/_postgres.tpl


+ 0 - 0
charts/nextcloud/1.6.31/templates/backup-postgres-config.yaml → charts/nextcloud/1.6.32/templates/backup-postgres-config.yaml


+ 0 - 0
charts/nextcloud/1.6.31/templates/backup-postgres-hook.yaml → charts/nextcloud/1.6.32/templates/backup-postgres-hook.yaml


+ 0 - 0
charts/nextcloud/1.6.31/templates/cronjob.yaml → charts/nextcloud/1.6.32/templates/cronjob.yaml


+ 21 - 8
charts/nextcloud/1.6.31/templates/deployment.yaml → charts/nextcloud/1.6.32/templates/deployment.yaml

@@ -122,21 +122,34 @@ spec: {{ include "common.deployment.common_spec" . | nindent 2 }}
           failureThreshold: 5
           successThreshold: 1
         startupProbe:
-        {{- if .Values.nextcloud.install_ffmpeg }}
+        {{ $cmds := list }}
+        {{ if .Values.nextcloud.install_ffmpeg }}
+          {{ $cmds = mustAppend $cmds "ffmpeg" }}
+        {{ end }}
+        {{ if .Values.nextcloud.install_smbclient }}
+          {{ $cmds = mustAppend $cmds "smbclient" }}
+        {{ end }}
+        {{ if $cmds }}
           exec:
             command:
               - /bin/sh
               - -c
               - |
-                command -v ffmpeg /dev/null 2>&1 || exit 1
-        {{- else }}
+                commands_to_check={{ join " " $cmds }}
+                for comm in $commands_to_check; do
+                  if ! command -v $comm /dev/null 2>&1; then
+                    echo "Command $comm not found"
+                    exit 1
+                  fi
+                done
+        {{ else }}
           httpGet:
             path: /status.php
             port: http
             httpHeaders:
             - name: Host
               value: localhost
-        {{- end }}
+        {{ end }}
           initialDelaySeconds: 10
           periodSeconds: 10
           timeoutSeconds: 5
@@ -168,7 +181,7 @@ spec: {{ include "common.deployment.common_spec" . | nindent 2 }}
         - name: extrappvolume-{{ $index }}
           mountPath: {{ $hostPathConfiguration.mountPath }}
         {{ end }}
-        {{- if .Values.nextcloud.install_ffmpeg }}
+        {{ if $cmds }}
         lifecycle:
           postStart:
             exec:
@@ -176,12 +189,12 @@ spec: {{ include "common.deployment.common_spec" . | nindent 2 }}
                 - /bin/sh
                 - -c
                 - |
-                  echo "Installing ffmpeg..."
+                  echo "Installing {{ join " " $cmds }}..."
                   apt update && \
                   apt install -y --no-install-recommends \
-                  ffmpeg || echo "Failed to install ffmpeg"
+                  {{ join " " $cmds }} || echo "Failed to install binary/binaries"
                   echo "Finished."
-        {{- end }}
+        {{ end }}
 {{ include "common.networking.dnsConfiguration" .Values | nindent 6 }}
       volumes:
         - name: nginx-configuration

+ 0 - 0
charts/nextcloud/1.6.31/templates/nginx-configmap.yaml → charts/nextcloud/1.6.32/templates/nginx-configmap.yaml


+ 0 - 0
charts/nextcloud/1.6.31/templates/nginx-secret.yaml → charts/nextcloud/1.6.32/templates/nginx-secret.yaml


+ 0 - 0
charts/nextcloud/1.6.31/templates/nuke-deployments-hook.yaml → charts/nextcloud/1.6.32/templates/nuke-deployments-hook.yaml


+ 0 - 0
charts/nextcloud/1.6.31/templates/postgres-deployment.yaml → charts/nextcloud/1.6.32/templates/postgres-deployment.yaml


+ 0 - 0
charts/nextcloud/1.6.31/templates/postgres-secret.yaml → charts/nextcloud/1.6.32/templates/postgres-secret.yaml


+ 0 - 0
charts/nextcloud/1.6.31/templates/postgres-service.yaml → charts/nextcloud/1.6.32/templates/postgres-service.yaml


+ 0 - 0
charts/nextcloud/1.6.31/templates/secrets.yaml → charts/nextcloud/1.6.32/templates/secrets.yaml


+ 0 - 0
charts/nextcloud/1.6.31/templates/service.yaml → charts/nextcloud/1.6.32/templates/service.yaml


+ 0 - 0
charts/nextcloud/1.6.31/templates/serviceaccount.yaml → charts/nextcloud/1.6.32/templates/serviceaccount.yaml