Quellcode durchsuchen

Allow adding custom host path for postgres for nextcloud

M. Rehan vor 3 Jahren
Ursprung
Commit
01011ff362
56 geänderte Dateien mit 68 neuen und 6 gelöschten Zeilen
  1. 0 0
      charts/nextcloud/1.6.5/.helmignore
  2. 0 0
      charts/nextcloud/1.6.5/Chart.lock
  3. 1 1
      charts/nextcloud/1.6.5/Chart.yaml
  4. 0 0
      charts/nextcloud/1.6.5/README.md
  5. 0 0
      charts/nextcloud/1.6.5/app-readme.md
  6. 0 0
      charts/nextcloud/1.6.5/charts/common-2206.0.0.tgz
  7. 0 0
      charts/nextcloud/1.6.5/ix_values.yaml
  8. 0 0
      charts/nextcloud/1.6.5/migrations/migrate_from_1.1.0
  9. 33 2
      charts/nextcloud/1.6.5/questions.yaml
  10. 0 0
      charts/nextcloud/1.6.5/requirements.lock
  11. 0 0
      charts/nextcloud/1.6.5/templates/NOTES.txt
  12. 0 0
      charts/nextcloud/1.6.5/templates/_nginx.tpl
  13. 0 0
      charts/nextcloud/1.6.5/templates/_postgres.tpl
  14. 0 0
      charts/nextcloud/1.6.5/templates/backup-postgres-config.yaml
  15. 0 0
      charts/nextcloud/1.6.5/templates/backup-postgres-hook.yaml
  16. 0 0
      charts/nextcloud/1.6.5/templates/cronjob.yaml
  17. 0 0
      charts/nextcloud/1.6.5/templates/deployment.yaml
  18. 0 0
      charts/nextcloud/1.6.5/templates/nginx-configmap.yaml
  19. 0 0
      charts/nextcloud/1.6.5/templates/nginx-secret.yaml
  20. 0 0
      charts/nextcloud/1.6.5/templates/nuke-deployments-hook.yaml
  21. 0 0
      charts/nextcloud/1.6.5/templates/postgres-deployment.yaml
  22. 0 0
      charts/nextcloud/1.6.5/templates/postgres-secret.yaml
  23. 0 0
      charts/nextcloud/1.6.5/templates/postgres-service.yaml
  24. 0 0
      charts/nextcloud/1.6.5/templates/secrets.yaml
  25. 0 0
      charts/nextcloud/1.6.5/templates/service.yaml
  26. 0 0
      charts/nextcloud/1.6.5/templates/serviceaccount.yaml
  27. 0 0
      charts/nextcloud/1.6.5/templates/tests/deployment-check.yaml
  28. 0 0
      charts/nextcloud/1.6.5/test_values.yaml
  29. 0 0
      test/nextcloud/1.6.5/.helmignore
  30. 0 0
      test/nextcloud/1.6.5/Chart.lock
  31. 1 1
      test/nextcloud/1.6.5/Chart.yaml
  32. 0 0
      test/nextcloud/1.6.5/README.md
  33. 0 0
      test/nextcloud/1.6.5/app-readme.md
  34. 0 0
      test/nextcloud/1.6.5/charts/common-2206.0.0.tgz
  35. 0 0
      test/nextcloud/1.6.5/ix_values.yaml
  36. 0 0
      test/nextcloud/1.6.5/migrations/migrate_from_1.1.0
  37. 33 2
      test/nextcloud/1.6.5/questions.yaml
  38. 0 0
      test/nextcloud/1.6.5/requirements.lock
  39. 0 0
      test/nextcloud/1.6.5/templates/NOTES.txt
  40. 0 0
      test/nextcloud/1.6.5/templates/_nginx.tpl
  41. 0 0
      test/nextcloud/1.6.5/templates/_postgres.tpl
  42. 0 0
      test/nextcloud/1.6.5/templates/backup-postgres-config.yaml
  43. 0 0
      test/nextcloud/1.6.5/templates/backup-postgres-hook.yaml
  44. 0 0
      test/nextcloud/1.6.5/templates/cronjob.yaml
  45. 0 0
      test/nextcloud/1.6.5/templates/deployment.yaml
  46. 0 0
      test/nextcloud/1.6.5/templates/nginx-configmap.yaml
  47. 0 0
      test/nextcloud/1.6.5/templates/nginx-secret.yaml
  48. 0 0
      test/nextcloud/1.6.5/templates/nuke-deployments-hook.yaml
  49. 0 0
      test/nextcloud/1.6.5/templates/postgres-deployment.yaml
  50. 0 0
      test/nextcloud/1.6.5/templates/postgres-secret.yaml
  51. 0 0
      test/nextcloud/1.6.5/templates/postgres-service.yaml
  52. 0 0
      test/nextcloud/1.6.5/templates/secrets.yaml
  53. 0 0
      test/nextcloud/1.6.5/templates/service.yaml
  54. 0 0
      test/nextcloud/1.6.5/templates/serviceaccount.yaml
  55. 0 0
      test/nextcloud/1.6.5/templates/tests/deployment-check.yaml
  56. 0 0
      test/nextcloud/1.6.5/test_values.yaml

+ 0 - 0
charts/nextcloud/1.6.4/.helmignore → charts/nextcloud/1.6.5/.helmignore


+ 0 - 0
charts/nextcloud/1.6.4/Chart.lock → charts/nextcloud/1.6.5/Chart.lock


+ 1 - 1
charts/nextcloud/1.6.4/Chart.yaml → charts/nextcloud/1.6.5/Chart.yaml

@@ -19,4 +19,4 @@ sources:
 - https://github.com/nextcloud/docker
 - https://github.com/nextcloud/helm
 upstream_version: 2.3.2
-version: 1.6.4
+version: 1.6.5

+ 0 - 0
charts/nextcloud/1.6.4/README.md → charts/nextcloud/1.6.5/README.md


+ 0 - 0
charts/nextcloud/1.6.4/app-readme.md → charts/nextcloud/1.6.5/app-readme.md


+ 0 - 0
charts/nextcloud/1.6.4/charts/common-2206.0.0.tgz → charts/nextcloud/1.6.5/charts/common-2206.0.0.tgz


+ 0 - 0
charts/nextcloud/1.6.4/ix_values.yaml → charts/nextcloud/1.6.5/ix_values.yaml


+ 0 - 0
charts/nextcloud/1.6.4/migrations/migrate_from_1.1.0 → charts/nextcloud/1.6.5/migrations/migrate_from_1.1.0


+ 33 - 2
charts/nextcloud/1.6.4/questions.yaml → charts/nextcloud/1.6.5/questions.yaml

@@ -229,7 +229,6 @@ questions:
     group: "Storage"
     schema:
       type: dict
-      hidden: true
       attrs:
         - variable: postgres-data
           label: "Postgres Data Volume"
@@ -240,17 +239,34 @@ questions:
                 label: "Postgres Data Volume Name"
                 schema:
                   type: string
+                  hidden: true
                   $ref:
                     - "normalize/ixVolume"
                   default: "ix-postgres_data"
+                  show_if: [["hostPathEnabled", "=", false]]
                   editable: false
+
               - variable: mountPath
                 label: "Postgresql Data Mount Path"
                 description: "Path where the volume will be mounted inside the pod"
                 schema:
                   type: path
+                  hidden: true
                   editable: false
                   default: "/var/lib/postgresql/data"
+              - variable: hostPathEnabled
+                label: "Enable Host Path for Postgres Data Volume"
+                schema:
+                  type: boolean
+                  default: false
+                  show_subquestions_if: true
+                  subquestions:
+                    - variable: hostPath
+                      label: "Host Path for Postgres Data Volume"
+                      schema:
+                        type: hostpath
+                        required: true
+
         - variable: postgres-backup
           label: "Postgres Backup Volume"
           schema:
@@ -260,17 +276,32 @@ questions:
                 label: "Postgres Backup Volume Name"
                 schema:
                   type: string
+                  hidden: true
                   $ref:
                     - "normalize/ixVolume"
                   default: "ix-postgres_backups"
+                  show_if: [["hostPathEnabled", "=", false]]
                   editable: false
               - variable: mountPath
                 label: "Postgresql Backup Mount Path"
                 description: "Path where the volume will be mounted inside the pod"
                 schema:
                   type: path
+                  hidden: true
                   editable: false
                   default: "/postgres_backups"
+              - variable: hostPathEnabled
+                label: "Enable Host Path for Postgres Backup Volume"
+                schema:
+                  type: boolean
+                  default: false
+                  show_subquestions_if: true
+                  subquestions:
+                    - variable: hostPath
+                      label: "Host Path for Postgres Backup Volume"
+                      schema:
+                        type: hostpath
+                        required: true
 
   - variable: enableResourceLimits
     label: "Enable Pod resource limits"
@@ -295,4 +326,4 @@ questions:
       type: string
       show_if: [["enableResourceLimits", "=", true]]
       valid_chars: "^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$"
-      default: "8Gi"
+      default: "8Gi"

+ 0 - 0
charts/nextcloud/1.6.4/requirements.lock → charts/nextcloud/1.6.5/requirements.lock


+ 0 - 0
charts/nextcloud/1.6.4/templates/NOTES.txt → charts/nextcloud/1.6.5/templates/NOTES.txt


+ 0 - 0
charts/nextcloud/1.6.4/templates/_nginx.tpl → charts/nextcloud/1.6.5/templates/_nginx.tpl


+ 0 - 0
charts/nextcloud/1.6.4/templates/_postgres.tpl → charts/nextcloud/1.6.5/templates/_postgres.tpl


+ 0 - 0
charts/nextcloud/1.6.4/templates/backup-postgres-config.yaml → charts/nextcloud/1.6.5/templates/backup-postgres-config.yaml


+ 0 - 0
charts/nextcloud/1.6.4/templates/backup-postgres-hook.yaml → charts/nextcloud/1.6.5/templates/backup-postgres-hook.yaml


+ 0 - 0
charts/nextcloud/1.6.4/templates/cronjob.yaml → charts/nextcloud/1.6.5/templates/cronjob.yaml


+ 0 - 0
charts/nextcloud/1.6.4/templates/deployment.yaml → charts/nextcloud/1.6.5/templates/deployment.yaml


+ 0 - 0
charts/nextcloud/1.6.4/templates/nginx-configmap.yaml → charts/nextcloud/1.6.5/templates/nginx-configmap.yaml


+ 0 - 0
charts/nextcloud/1.6.4/templates/nginx-secret.yaml → charts/nextcloud/1.6.5/templates/nginx-secret.yaml


+ 0 - 0
charts/nextcloud/1.6.4/templates/nuke-deployments-hook.yaml → charts/nextcloud/1.6.5/templates/nuke-deployments-hook.yaml


+ 0 - 0
charts/nextcloud/1.6.4/templates/postgres-deployment.yaml → charts/nextcloud/1.6.5/templates/postgres-deployment.yaml


+ 0 - 0
charts/nextcloud/1.6.4/templates/postgres-secret.yaml → charts/nextcloud/1.6.5/templates/postgres-secret.yaml


+ 0 - 0
charts/nextcloud/1.6.4/templates/postgres-service.yaml → charts/nextcloud/1.6.5/templates/postgres-service.yaml


+ 0 - 0
charts/nextcloud/1.6.4/templates/secrets.yaml → charts/nextcloud/1.6.5/templates/secrets.yaml


+ 0 - 0
charts/nextcloud/1.6.4/templates/service.yaml → charts/nextcloud/1.6.5/templates/service.yaml


+ 0 - 0
charts/nextcloud/1.6.4/templates/serviceaccount.yaml → charts/nextcloud/1.6.5/templates/serviceaccount.yaml


+ 0 - 0
charts/nextcloud/1.6.4/templates/tests/deployment-check.yaml → charts/nextcloud/1.6.5/templates/tests/deployment-check.yaml


+ 0 - 0
charts/nextcloud/1.6.4/test_values.yaml → charts/nextcloud/1.6.5/test_values.yaml


+ 0 - 0
test/nextcloud/1.6.4/.helmignore → test/nextcloud/1.6.5/.helmignore


+ 0 - 0
test/nextcloud/1.6.4/Chart.lock → test/nextcloud/1.6.5/Chart.lock


+ 1 - 1
test/nextcloud/1.6.4/Chart.yaml → test/nextcloud/1.6.5/Chart.yaml

@@ -19,4 +19,4 @@ sources:
 - https://github.com/nextcloud/docker
 - https://github.com/nextcloud/helm
 upstream_version: 2.3.2
-version: 1.6.4
+version: 1.6.5

+ 0 - 0
test/nextcloud/1.6.4/README.md → test/nextcloud/1.6.5/README.md


+ 0 - 0
test/nextcloud/1.6.4/app-readme.md → test/nextcloud/1.6.5/app-readme.md


+ 0 - 0
test/nextcloud/1.6.4/charts/common-2206.0.0.tgz → test/nextcloud/1.6.5/charts/common-2206.0.0.tgz


+ 0 - 0
test/nextcloud/1.6.4/ix_values.yaml → test/nextcloud/1.6.5/ix_values.yaml


+ 0 - 0
test/nextcloud/1.6.4/migrations/migrate_from_1.1.0 → test/nextcloud/1.6.5/migrations/migrate_from_1.1.0


+ 33 - 2
test/nextcloud/1.6.4/questions.yaml → test/nextcloud/1.6.5/questions.yaml

@@ -229,7 +229,6 @@ questions:
     group: "Storage"
     schema:
       type: dict
-      hidden: true
       attrs:
         - variable: postgres-data
           label: "Postgres Data Volume"
@@ -240,17 +239,34 @@ questions:
                 label: "Postgres Data Volume Name"
                 schema:
                   type: string
+                  hidden: true
                   $ref:
                     - "normalize/ixVolume"
                   default: "ix-postgres_data"
+                  show_if: [["hostPathEnabled", "=", false]]
                   editable: false
+
               - variable: mountPath
                 label: "Postgresql Data Mount Path"
                 description: "Path where the volume will be mounted inside the pod"
                 schema:
                   type: path
+                  hidden: true
                   editable: false
                   default: "/var/lib/postgresql/data"
+              - variable: hostPathEnabled
+                label: "Enable Host Path for Postgres Data Volume"
+                schema:
+                  type: boolean
+                  default: false
+                  show_subquestions_if: true
+                  subquestions:
+                    - variable: hostPath
+                      label: "Host Path for Postgres Data Volume"
+                      schema:
+                        type: hostpath
+                        required: true
+
         - variable: postgres-backup
           label: "Postgres Backup Volume"
           schema:
@@ -260,17 +276,32 @@ questions:
                 label: "Postgres Backup Volume Name"
                 schema:
                   type: string
+                  hidden: true
                   $ref:
                     - "normalize/ixVolume"
                   default: "ix-postgres_backups"
+                  show_if: [["hostPathEnabled", "=", false]]
                   editable: false
               - variable: mountPath
                 label: "Postgresql Backup Mount Path"
                 description: "Path where the volume will be mounted inside the pod"
                 schema:
                   type: path
+                  hidden: true
                   editable: false
                   default: "/postgres_backups"
+              - variable: hostPathEnabled
+                label: "Enable Host Path for Postgres Backup Volume"
+                schema:
+                  type: boolean
+                  default: false
+                  show_subquestions_if: true
+                  subquestions:
+                    - variable: hostPath
+                      label: "Host Path for Postgres Backup Volume"
+                      schema:
+                        type: hostpath
+                        required: true
 
   - variable: enableResourceLimits
     label: "Enable Pod resource limits"
@@ -295,4 +326,4 @@ questions:
       type: string
       show_if: [["enableResourceLimits", "=", true]]
       valid_chars: "^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$"
-      default: "8Gi"
+      default: "8Gi"

+ 0 - 0
test/nextcloud/1.6.4/requirements.lock → test/nextcloud/1.6.5/requirements.lock


+ 0 - 0
test/nextcloud/1.6.4/templates/NOTES.txt → test/nextcloud/1.6.5/templates/NOTES.txt


+ 0 - 0
test/nextcloud/1.6.4/templates/_nginx.tpl → test/nextcloud/1.6.5/templates/_nginx.tpl


+ 0 - 0
test/nextcloud/1.6.4/templates/_postgres.tpl → test/nextcloud/1.6.5/templates/_postgres.tpl


+ 0 - 0
test/nextcloud/1.6.4/templates/backup-postgres-config.yaml → test/nextcloud/1.6.5/templates/backup-postgres-config.yaml


+ 0 - 0
test/nextcloud/1.6.4/templates/backup-postgres-hook.yaml → test/nextcloud/1.6.5/templates/backup-postgres-hook.yaml


+ 0 - 0
test/nextcloud/1.6.4/templates/cronjob.yaml → test/nextcloud/1.6.5/templates/cronjob.yaml


+ 0 - 0
test/nextcloud/1.6.4/templates/deployment.yaml → test/nextcloud/1.6.5/templates/deployment.yaml


+ 0 - 0
test/nextcloud/1.6.4/templates/nginx-configmap.yaml → test/nextcloud/1.6.5/templates/nginx-configmap.yaml


+ 0 - 0
test/nextcloud/1.6.4/templates/nginx-secret.yaml → test/nextcloud/1.6.5/templates/nginx-secret.yaml


+ 0 - 0
test/nextcloud/1.6.4/templates/nuke-deployments-hook.yaml → test/nextcloud/1.6.5/templates/nuke-deployments-hook.yaml


+ 0 - 0
test/nextcloud/1.6.4/templates/postgres-deployment.yaml → test/nextcloud/1.6.5/templates/postgres-deployment.yaml


+ 0 - 0
test/nextcloud/1.6.4/templates/postgres-secret.yaml → test/nextcloud/1.6.5/templates/postgres-secret.yaml


+ 0 - 0
test/nextcloud/1.6.4/templates/postgres-service.yaml → test/nextcloud/1.6.5/templates/postgres-service.yaml


+ 0 - 0
test/nextcloud/1.6.4/templates/secrets.yaml → test/nextcloud/1.6.5/templates/secrets.yaml


+ 0 - 0
test/nextcloud/1.6.4/templates/service.yaml → test/nextcloud/1.6.5/templates/service.yaml


+ 0 - 0
test/nextcloud/1.6.4/templates/serviceaccount.yaml → test/nextcloud/1.6.5/templates/serviceaccount.yaml


+ 0 - 0
test/nextcloud/1.6.4/templates/tests/deployment-check.yaml → test/nextcloud/1.6.5/templates/tests/deployment-check.yaml


+ 0 - 0
test/nextcloud/1.6.4/test_values.yaml → test/nextcloud/1.6.5/test_values.yaml