Parcourir la source

Merge pull request #769 from truenas/NAS-118354

NAS-118354 / 22.12 / Fix root user not exist error in nextcloud postgres logs
M. Rehan il y a 2 ans
Parent
commit
c4a5f4f79e
56 fichiers modifiés avec 8 ajouts et 4 suppressions
  1. 0 0
      charts/nextcloud/1.6.11/.helmignore
  2. 0 0
      charts/nextcloud/1.6.11/Chart.lock
  3. 1 1
      charts/nextcloud/1.6.11/Chart.yaml
  4. 0 0
      charts/nextcloud/1.6.11/README.md
  5. 0 0
      charts/nextcloud/1.6.11/app-readme.md
  6. 0 0
      charts/nextcloud/1.6.11/charts/common-2207.0.0.tgz
  7. 0 0
      charts/nextcloud/1.6.11/ix_values.yaml
  8. 0 0
      charts/nextcloud/1.6.11/migrations/migrate_from_1.1.0
  9. 0 0
      charts/nextcloud/1.6.11/questions.yaml
  10. 0 0
      charts/nextcloud/1.6.11/requirements.lock
  11. 0 0
      charts/nextcloud/1.6.11/templates/NOTES.txt
  12. 0 0
      charts/nextcloud/1.6.11/templates/_nginx.tpl
  13. 0 0
      charts/nextcloud/1.6.11/templates/_postgres.tpl
  14. 0 0
      charts/nextcloud/1.6.11/templates/backup-postgres-config.yaml
  15. 0 0
      charts/nextcloud/1.6.11/templates/backup-postgres-hook.yaml
  16. 0 0
      charts/nextcloud/1.6.11/templates/cronjob.yaml
  17. 3 1
      charts/nextcloud/1.6.11/templates/deployment.yaml
  18. 0 0
      charts/nextcloud/1.6.11/templates/nginx-configmap.yaml
  19. 0 0
      charts/nextcloud/1.6.11/templates/nginx-secret.yaml
  20. 0 0
      charts/nextcloud/1.6.11/templates/nuke-deployments-hook.yaml
  21. 0 0
      charts/nextcloud/1.6.11/templates/postgres-deployment.yaml
  22. 0 0
      charts/nextcloud/1.6.11/templates/postgres-secret.yaml
  23. 0 0
      charts/nextcloud/1.6.11/templates/postgres-service.yaml
  24. 0 0
      charts/nextcloud/1.6.11/templates/secrets.yaml
  25. 0 0
      charts/nextcloud/1.6.11/templates/service.yaml
  26. 0 0
      charts/nextcloud/1.6.11/templates/serviceaccount.yaml
  27. 0 0
      charts/nextcloud/1.6.11/templates/tests/deployment-check.yaml
  28. 0 0
      charts/nextcloud/1.6.11/test_values.yaml
  29. 0 0
      test/nextcloud/1.6.11/.helmignore
  30. 0 0
      test/nextcloud/1.6.11/Chart.lock
  31. 1 1
      test/nextcloud/1.6.11/Chart.yaml
  32. 0 0
      test/nextcloud/1.6.11/README.md
  33. 0 0
      test/nextcloud/1.6.11/app-readme.md
  34. 0 0
      test/nextcloud/1.6.11/charts/common-2207.0.0.tgz
  35. 0 0
      test/nextcloud/1.6.11/ix_values.yaml
  36. 0 0
      test/nextcloud/1.6.11/migrations/migrate_from_1.1.0
  37. 0 0
      test/nextcloud/1.6.11/questions.yaml
  38. 0 0
      test/nextcloud/1.6.11/requirements.lock
  39. 0 0
      test/nextcloud/1.6.11/templates/NOTES.txt
  40. 0 0
      test/nextcloud/1.6.11/templates/_nginx.tpl
  41. 0 0
      test/nextcloud/1.6.11/templates/_postgres.tpl
  42. 0 0
      test/nextcloud/1.6.11/templates/backup-postgres-config.yaml
  43. 0 0
      test/nextcloud/1.6.11/templates/backup-postgres-hook.yaml
  44. 0 0
      test/nextcloud/1.6.11/templates/cronjob.yaml
  45. 3 1
      test/nextcloud/1.6.11/templates/deployment.yaml
  46. 0 0
      test/nextcloud/1.6.11/templates/nginx-configmap.yaml
  47. 0 0
      test/nextcloud/1.6.11/templates/nginx-secret.yaml
  48. 0 0
      test/nextcloud/1.6.11/templates/nuke-deployments-hook.yaml
  49. 0 0
      test/nextcloud/1.6.11/templates/postgres-deployment.yaml
  50. 0 0
      test/nextcloud/1.6.11/templates/postgres-secret.yaml
  51. 0 0
      test/nextcloud/1.6.11/templates/postgres-service.yaml
  52. 0 0
      test/nextcloud/1.6.11/templates/secrets.yaml
  53. 0 0
      test/nextcloud/1.6.11/templates/service.yaml
  54. 0 0
      test/nextcloud/1.6.11/templates/serviceaccount.yaml
  55. 0 0
      test/nextcloud/1.6.11/templates/tests/deployment-check.yaml
  56. 0 0
      test/nextcloud/1.6.11/test_values.yaml

+ 0 - 0
charts/nextcloud/1.6.10/.helmignore → charts/nextcloud/1.6.11/.helmignore


+ 0 - 0
charts/nextcloud/1.6.10/Chart.lock → charts/nextcloud/1.6.11/Chart.lock


+ 1 - 1
charts/nextcloud/1.6.10/Chart.yaml → charts/nextcloud/1.6.11/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.10
+version: 1.6.11

+ 0 - 0
charts/nextcloud/1.6.10/README.md → charts/nextcloud/1.6.11/README.md


+ 0 - 0
charts/nextcloud/1.6.10/app-readme.md → charts/nextcloud/1.6.11/app-readme.md


+ 0 - 0
charts/nextcloud/1.6.10/charts/common-2207.0.0.tgz → charts/nextcloud/1.6.11/charts/common-2207.0.0.tgz


+ 0 - 0
charts/nextcloud/1.6.10/ix_values.yaml → charts/nextcloud/1.6.11/ix_values.yaml


+ 0 - 0
charts/nextcloud/1.6.10/migrations/migrate_from_1.1.0 → charts/nextcloud/1.6.11/migrations/migrate_from_1.1.0


+ 0 - 0
charts/nextcloud/1.6.10/questions.yaml → charts/nextcloud/1.6.11/questions.yaml


+ 0 - 0
charts/nextcloud/1.6.10/requirements.lock → charts/nextcloud/1.6.11/requirements.lock


+ 0 - 0
charts/nextcloud/1.6.10/templates/NOTES.txt → charts/nextcloud/1.6.11/templates/NOTES.txt


+ 0 - 0
charts/nextcloud/1.6.10/templates/_nginx.tpl → charts/nextcloud/1.6.11/templates/_nginx.tpl


+ 0 - 0
charts/nextcloud/1.6.10/templates/_postgres.tpl → charts/nextcloud/1.6.11/templates/_postgres.tpl


+ 0 - 0
charts/nextcloud/1.6.10/templates/backup-postgres-config.yaml → charts/nextcloud/1.6.11/templates/backup-postgres-config.yaml


+ 0 - 0
charts/nextcloud/1.6.10/templates/backup-postgres-hook.yaml → charts/nextcloud/1.6.11/templates/backup-postgres-hook.yaml


+ 0 - 0
charts/nextcloud/1.6.10/templates/cronjob.yaml → charts/nextcloud/1.6.11/templates/cronjob.yaml


+ 3 - 1
charts/nextcloud/1.6.10/templates/deployment.yaml → charts/nextcloud/1.6.11/templates/deployment.yaml

@@ -8,8 +8,10 @@ spec: {{ include "common.deployment.common_spec" . | nindent 2 }}
       initContainers:
         - name: init-postgresdb
           image: {{ template "postgres.imageName" . }}
-          command: ['sh', '-c', "until pg_isready -h {{ template "common.names.fullname" $postgres_values }}; do echo waiting for postgres; sleep 2; done"]
+          command: ['sh', '-c', "until pg_isready -U $POSTGRES_USER -d {{ include "postgres.DatabaseName" .Values }} -h {{ template "common.names.fullname" $postgres_values }}; do echo waiting for postgres; sleep 2; done"]
           imagePullPolicy: {{ .Values.image.pullPolicy }}
+          env: {{ include "postgres.envVariableConfiguration" $postgres_values | nindent 10 }}
+
       containers:
       {{ if eq (include "nginx.certAvailable" .) "true" }}
       - name: nginx

+ 0 - 0
charts/nextcloud/1.6.10/templates/nginx-configmap.yaml → charts/nextcloud/1.6.11/templates/nginx-configmap.yaml


+ 0 - 0
charts/nextcloud/1.6.10/templates/nginx-secret.yaml → charts/nextcloud/1.6.11/templates/nginx-secret.yaml


+ 0 - 0
charts/nextcloud/1.6.10/templates/nuke-deployments-hook.yaml → charts/nextcloud/1.6.11/templates/nuke-deployments-hook.yaml


+ 0 - 0
charts/nextcloud/1.6.10/templates/postgres-deployment.yaml → charts/nextcloud/1.6.11/templates/postgres-deployment.yaml


+ 0 - 0
charts/nextcloud/1.6.10/templates/postgres-secret.yaml → charts/nextcloud/1.6.11/templates/postgres-secret.yaml


+ 0 - 0
charts/nextcloud/1.6.10/templates/postgres-service.yaml → charts/nextcloud/1.6.11/templates/postgres-service.yaml


+ 0 - 0
charts/nextcloud/1.6.10/templates/secrets.yaml → charts/nextcloud/1.6.11/templates/secrets.yaml


+ 0 - 0
charts/nextcloud/1.6.10/templates/service.yaml → charts/nextcloud/1.6.11/templates/service.yaml


+ 0 - 0
charts/nextcloud/1.6.10/templates/serviceaccount.yaml → charts/nextcloud/1.6.11/templates/serviceaccount.yaml


+ 0 - 0
charts/nextcloud/1.6.10/templates/tests/deployment-check.yaml → charts/nextcloud/1.6.11/templates/tests/deployment-check.yaml


+ 0 - 0
charts/nextcloud/1.6.10/test_values.yaml → charts/nextcloud/1.6.11/test_values.yaml


+ 0 - 0
test/nextcloud/1.6.10/.helmignore → test/nextcloud/1.6.11/.helmignore


+ 0 - 0
test/nextcloud/1.6.10/Chart.lock → test/nextcloud/1.6.11/Chart.lock


+ 1 - 1
test/nextcloud/1.6.10/Chart.yaml → test/nextcloud/1.6.11/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.10
+version: 1.6.11

+ 0 - 0
test/nextcloud/1.6.10/README.md → test/nextcloud/1.6.11/README.md


+ 0 - 0
test/nextcloud/1.6.10/app-readme.md → test/nextcloud/1.6.11/app-readme.md


+ 0 - 0
test/nextcloud/1.6.10/charts/common-2207.0.0.tgz → test/nextcloud/1.6.11/charts/common-2207.0.0.tgz


+ 0 - 0
test/nextcloud/1.6.10/ix_values.yaml → test/nextcloud/1.6.11/ix_values.yaml


+ 0 - 0
test/nextcloud/1.6.10/migrations/migrate_from_1.1.0 → test/nextcloud/1.6.11/migrations/migrate_from_1.1.0


+ 0 - 0
test/nextcloud/1.6.10/questions.yaml → test/nextcloud/1.6.11/questions.yaml


+ 0 - 0
test/nextcloud/1.6.10/requirements.lock → test/nextcloud/1.6.11/requirements.lock


+ 0 - 0
test/nextcloud/1.6.10/templates/NOTES.txt → test/nextcloud/1.6.11/templates/NOTES.txt


+ 0 - 0
test/nextcloud/1.6.10/templates/_nginx.tpl → test/nextcloud/1.6.11/templates/_nginx.tpl


+ 0 - 0
test/nextcloud/1.6.10/templates/_postgres.tpl → test/nextcloud/1.6.11/templates/_postgres.tpl


+ 0 - 0
test/nextcloud/1.6.10/templates/backup-postgres-config.yaml → test/nextcloud/1.6.11/templates/backup-postgres-config.yaml


+ 0 - 0
test/nextcloud/1.6.10/templates/backup-postgres-hook.yaml → test/nextcloud/1.6.11/templates/backup-postgres-hook.yaml


+ 0 - 0
test/nextcloud/1.6.10/templates/cronjob.yaml → test/nextcloud/1.6.11/templates/cronjob.yaml


+ 3 - 1
test/nextcloud/1.6.10/templates/deployment.yaml → test/nextcloud/1.6.11/templates/deployment.yaml

@@ -8,8 +8,10 @@ spec: {{ include "common.deployment.common_spec" . | nindent 2 }}
       initContainers:
         - name: init-postgresdb
           image: {{ template "postgres.imageName" . }}
-          command: ['sh', '-c', "until pg_isready -h {{ template "common.names.fullname" $postgres_values }}; do echo waiting for postgres; sleep 2; done"]
+          command: ['sh', '-c', "until pg_isready -U $POSTGRES_USER -d {{ include "postgres.DatabaseName" .Values }} -h {{ template "common.names.fullname" $postgres_values }}; do echo waiting for postgres; sleep 2; done"]
           imagePullPolicy: {{ .Values.image.pullPolicy }}
+          env: {{ include "postgres.envVariableConfiguration" $postgres_values | nindent 10 }}
+
       containers:
       {{ if eq (include "nginx.certAvailable" .) "true" }}
       - name: nginx

+ 0 - 0
test/nextcloud/1.6.10/templates/nginx-configmap.yaml → test/nextcloud/1.6.11/templates/nginx-configmap.yaml


+ 0 - 0
test/nextcloud/1.6.10/templates/nginx-secret.yaml → test/nextcloud/1.6.11/templates/nginx-secret.yaml


+ 0 - 0
test/nextcloud/1.6.10/templates/nuke-deployments-hook.yaml → test/nextcloud/1.6.11/templates/nuke-deployments-hook.yaml


+ 0 - 0
test/nextcloud/1.6.10/templates/postgres-deployment.yaml → test/nextcloud/1.6.11/templates/postgres-deployment.yaml


+ 0 - 0
test/nextcloud/1.6.10/templates/postgres-secret.yaml → test/nextcloud/1.6.11/templates/postgres-secret.yaml


+ 0 - 0
test/nextcloud/1.6.10/templates/postgres-service.yaml → test/nextcloud/1.6.11/templates/postgres-service.yaml


+ 0 - 0
test/nextcloud/1.6.10/templates/secrets.yaml → test/nextcloud/1.6.11/templates/secrets.yaml


+ 0 - 0
test/nextcloud/1.6.10/templates/service.yaml → test/nextcloud/1.6.11/templates/service.yaml


+ 0 - 0
test/nextcloud/1.6.10/templates/serviceaccount.yaml → test/nextcloud/1.6.11/templates/serviceaccount.yaml


+ 0 - 0
test/nextcloud/1.6.10/templates/tests/deployment-check.yaml → test/nextcloud/1.6.11/templates/tests/deployment-check.yaml


+ 0 - 0
test/nextcloud/1.6.10/test_values.yaml → test/nextcloud/1.6.11/test_values.yaml