ソースを参照

Merge pull request #413 from truenas/NAS-115306

NAS-115306 / 22.12 / Add strict transport security header for nextcloud
M. Rehan 3 年 前
コミット
f0bd135eb4
54 ファイル変更6 行追加2 行削除
  1. 0 0
      charts/nextcloud/1.5.0/.helmignore
  2. 0 0
      charts/nextcloud/1.5.0/Chart.lock
  3. 1 1
      charts/nextcloud/1.5.0/Chart.yaml
  4. 0 0
      charts/nextcloud/1.5.0/README.md
  5. 0 0
      charts/nextcloud/1.5.0/app-readme.md
  6. 0 0
      charts/nextcloud/1.5.0/charts/common-2112.0.0.tgz
  7. 0 0
      charts/nextcloud/1.5.0/ix_values.yaml
  8. 0 0
      charts/nextcloud/1.5.0/migrations/migrate_from_1.1.0
  9. 0 0
      charts/nextcloud/1.5.0/questions.yaml
  10. 0 0
      charts/nextcloud/1.5.0/requirements.lock
  11. 0 0
      charts/nextcloud/1.5.0/templates/NOTES.txt
  12. 0 0
      charts/nextcloud/1.5.0/templates/_nginx.tpl
  13. 0 0
      charts/nextcloud/1.5.0/templates/_postgres.tpl
  14. 0 0
      charts/nextcloud/1.5.0/templates/backup-postgres-config.yaml
  15. 0 0
      charts/nextcloud/1.5.0/templates/backup-postgres-hook.yaml
  16. 0 0
      charts/nextcloud/1.5.0/templates/deployment.yaml
  17. 2 0
      charts/nextcloud/1.5.0/templates/nginx-configmap.yaml
  18. 0 0
      charts/nextcloud/1.5.0/templates/nginx-secret.yaml
  19. 0 0
      charts/nextcloud/1.5.0/templates/nuke-deployments-hook.yaml
  20. 0 0
      charts/nextcloud/1.5.0/templates/postgres-deployment.yaml
  21. 0 0
      charts/nextcloud/1.5.0/templates/postgres-secret.yaml
  22. 0 0
      charts/nextcloud/1.5.0/templates/postgres-service.yaml
  23. 0 0
      charts/nextcloud/1.5.0/templates/secrets.yaml
  24. 0 0
      charts/nextcloud/1.5.0/templates/service.yaml
  25. 0 0
      charts/nextcloud/1.5.0/templates/serviceaccount.yaml
  26. 0 0
      charts/nextcloud/1.5.0/templates/tests/deployment-check.yaml
  27. 0 0
      charts/nextcloud/1.5.0/test_values.yaml
  28. 0 0
      test/nextcloud/1.5.0/.helmignore
  29. 0 0
      test/nextcloud/1.5.0/Chart.lock
  30. 1 1
      test/nextcloud/1.5.0/Chart.yaml
  31. 0 0
      test/nextcloud/1.5.0/README.md
  32. 0 0
      test/nextcloud/1.5.0/app-readme.md
  33. 0 0
      test/nextcloud/1.5.0/charts/common-2112.0.0.tgz
  34. 0 0
      test/nextcloud/1.5.0/ix_values.yaml
  35. 0 0
      test/nextcloud/1.5.0/migrations/migrate_from_1.1.0
  36. 0 0
      test/nextcloud/1.5.0/questions.yaml
  37. 0 0
      test/nextcloud/1.5.0/requirements.lock
  38. 0 0
      test/nextcloud/1.5.0/templates/NOTES.txt
  39. 0 0
      test/nextcloud/1.5.0/templates/_nginx.tpl
  40. 0 0
      test/nextcloud/1.5.0/templates/_postgres.tpl
  41. 0 0
      test/nextcloud/1.5.0/templates/backup-postgres-config.yaml
  42. 0 0
      test/nextcloud/1.5.0/templates/backup-postgres-hook.yaml
  43. 0 0
      test/nextcloud/1.5.0/templates/deployment.yaml
  44. 2 0
      test/nextcloud/1.5.0/templates/nginx-configmap.yaml
  45. 0 0
      test/nextcloud/1.5.0/templates/nginx-secret.yaml
  46. 0 0
      test/nextcloud/1.5.0/templates/nuke-deployments-hook.yaml
  47. 0 0
      test/nextcloud/1.5.0/templates/postgres-deployment.yaml
  48. 0 0
      test/nextcloud/1.5.0/templates/postgres-secret.yaml
  49. 0 0
      test/nextcloud/1.5.0/templates/postgres-service.yaml
  50. 0 0
      test/nextcloud/1.5.0/templates/secrets.yaml
  51. 0 0
      test/nextcloud/1.5.0/templates/service.yaml
  52. 0 0
      test/nextcloud/1.5.0/templates/serviceaccount.yaml
  53. 0 0
      test/nextcloud/1.5.0/templates/tests/deployment-check.yaml
  54. 0 0
      test/nextcloud/1.5.0/test_values.yaml

+ 0 - 0
charts/nextcloud/1.4.1/.helmignore → charts/nextcloud/1.5.0/.helmignore


+ 0 - 0
charts/nextcloud/1.4.1/Chart.lock → charts/nextcloud/1.5.0/Chart.lock


+ 1 - 1
charts/nextcloud/1.4.1/Chart.yaml → charts/nextcloud/1.5.0/Chart.yaml

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

+ 0 - 0
charts/nextcloud/1.4.1/README.md → charts/nextcloud/1.5.0/README.md


+ 0 - 0
charts/nextcloud/1.4.1/app-readme.md → charts/nextcloud/1.5.0/app-readme.md


+ 0 - 0
charts/nextcloud/1.4.1/charts/common-2112.0.0.tgz → charts/nextcloud/1.5.0/charts/common-2112.0.0.tgz


+ 0 - 0
charts/nextcloud/1.4.1/ix_values.yaml → charts/nextcloud/1.5.0/ix_values.yaml


+ 0 - 0
charts/nextcloud/1.4.1/migrations/migrate_from_1.1.0 → charts/nextcloud/1.5.0/migrations/migrate_from_1.1.0


+ 0 - 0
charts/nextcloud/1.4.1/questions.yaml → charts/nextcloud/1.5.0/questions.yaml


+ 0 - 0
charts/nextcloud/1.4.1/requirements.lock → charts/nextcloud/1.5.0/requirements.lock


+ 0 - 0
charts/nextcloud/1.4.1/templates/NOTES.txt → charts/nextcloud/1.5.0/templates/NOTES.txt


+ 0 - 0
charts/nextcloud/1.4.1/templates/_nginx.tpl → charts/nextcloud/1.5.0/templates/_nginx.tpl


+ 0 - 0
charts/nextcloud/1.4.1/templates/_postgres.tpl → charts/nextcloud/1.5.0/templates/_postgres.tpl


+ 0 - 0
charts/nextcloud/1.4.1/templates/backup-postgres-config.yaml → charts/nextcloud/1.5.0/templates/backup-postgres-config.yaml


+ 0 - 0
charts/nextcloud/1.4.1/templates/backup-postgres-hook.yaml → charts/nextcloud/1.5.0/templates/backup-postgres-hook.yaml


+ 0 - 0
charts/nextcloud/1.4.1/templates/deployment.yaml → charts/nextcloud/1.5.0/templates/deployment.yaml


+ 2 - 0
charts/nextcloud/1.4.1/templates/nginx-configmap.yaml → charts/nextcloud/1.5.0/templates/nginx-configmap.yaml

@@ -26,6 +26,8 @@ data:
         # maximum 3GB Upload File; change to fit your needs
         client_max_body_size 3G;
 
+        add_header Strict-Transport-Security "max-age=15552000; includeSubDomains; preload" always;
+
         location = /robots.txt {
           allow all;
           log_not_found off;

+ 0 - 0
charts/nextcloud/1.4.1/templates/nginx-secret.yaml → charts/nextcloud/1.5.0/templates/nginx-secret.yaml


+ 0 - 0
charts/nextcloud/1.4.1/templates/nuke-deployments-hook.yaml → charts/nextcloud/1.5.0/templates/nuke-deployments-hook.yaml


+ 0 - 0
charts/nextcloud/1.4.1/templates/postgres-deployment.yaml → charts/nextcloud/1.5.0/templates/postgres-deployment.yaml


+ 0 - 0
charts/nextcloud/1.4.1/templates/postgres-secret.yaml → charts/nextcloud/1.5.0/templates/postgres-secret.yaml


+ 0 - 0
charts/nextcloud/1.4.1/templates/postgres-service.yaml → charts/nextcloud/1.5.0/templates/postgres-service.yaml


+ 0 - 0
charts/nextcloud/1.4.1/templates/secrets.yaml → charts/nextcloud/1.5.0/templates/secrets.yaml


+ 0 - 0
charts/nextcloud/1.4.1/templates/service.yaml → charts/nextcloud/1.5.0/templates/service.yaml


+ 0 - 0
charts/nextcloud/1.4.1/templates/serviceaccount.yaml → charts/nextcloud/1.5.0/templates/serviceaccount.yaml


+ 0 - 0
charts/nextcloud/1.4.1/templates/tests/deployment-check.yaml → charts/nextcloud/1.5.0/templates/tests/deployment-check.yaml


+ 0 - 0
charts/nextcloud/1.4.1/test_values.yaml → charts/nextcloud/1.5.0/test_values.yaml


+ 0 - 0
test/nextcloud/1.4.1/.helmignore → test/nextcloud/1.5.0/.helmignore


+ 0 - 0
test/nextcloud/1.4.1/Chart.lock → test/nextcloud/1.5.0/Chart.lock


+ 1 - 1
test/nextcloud/1.4.1/Chart.yaml → test/nextcloud/1.5.0/Chart.yaml

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

+ 0 - 0
test/nextcloud/1.4.1/README.md → test/nextcloud/1.5.0/README.md


+ 0 - 0
test/nextcloud/1.4.1/app-readme.md → test/nextcloud/1.5.0/app-readme.md


+ 0 - 0
test/nextcloud/1.4.1/charts/common-2112.0.0.tgz → test/nextcloud/1.5.0/charts/common-2112.0.0.tgz


+ 0 - 0
test/nextcloud/1.4.1/ix_values.yaml → test/nextcloud/1.5.0/ix_values.yaml


+ 0 - 0
test/nextcloud/1.4.1/migrations/migrate_from_1.1.0 → test/nextcloud/1.5.0/migrations/migrate_from_1.1.0


+ 0 - 0
test/nextcloud/1.4.1/questions.yaml → test/nextcloud/1.5.0/questions.yaml


+ 0 - 0
test/nextcloud/1.4.1/requirements.lock → test/nextcloud/1.5.0/requirements.lock


+ 0 - 0
test/nextcloud/1.4.1/templates/NOTES.txt → test/nextcloud/1.5.0/templates/NOTES.txt


+ 0 - 0
test/nextcloud/1.4.1/templates/_nginx.tpl → test/nextcloud/1.5.0/templates/_nginx.tpl


+ 0 - 0
test/nextcloud/1.4.1/templates/_postgres.tpl → test/nextcloud/1.5.0/templates/_postgres.tpl


+ 0 - 0
test/nextcloud/1.4.1/templates/backup-postgres-config.yaml → test/nextcloud/1.5.0/templates/backup-postgres-config.yaml


+ 0 - 0
test/nextcloud/1.4.1/templates/backup-postgres-hook.yaml → test/nextcloud/1.5.0/templates/backup-postgres-hook.yaml


+ 0 - 0
test/nextcloud/1.4.1/templates/deployment.yaml → test/nextcloud/1.5.0/templates/deployment.yaml


+ 2 - 0
test/nextcloud/1.4.1/templates/nginx-configmap.yaml → test/nextcloud/1.5.0/templates/nginx-configmap.yaml

@@ -26,6 +26,8 @@ data:
         # maximum 3GB Upload File; change to fit your needs
         client_max_body_size 3G;
 
+        add_header Strict-Transport-Security "max-age=15552000; includeSubDomains; preload" always;
+
         location = /robots.txt {
           allow all;
           log_not_found off;

+ 0 - 0
test/nextcloud/1.4.1/templates/nginx-secret.yaml → test/nextcloud/1.5.0/templates/nginx-secret.yaml


+ 0 - 0
test/nextcloud/1.4.1/templates/nuke-deployments-hook.yaml → test/nextcloud/1.5.0/templates/nuke-deployments-hook.yaml


+ 0 - 0
test/nextcloud/1.4.1/templates/postgres-deployment.yaml → test/nextcloud/1.5.0/templates/postgres-deployment.yaml


+ 0 - 0
test/nextcloud/1.4.1/templates/postgres-secret.yaml → test/nextcloud/1.5.0/templates/postgres-secret.yaml


+ 0 - 0
test/nextcloud/1.4.1/templates/postgres-service.yaml → test/nextcloud/1.5.0/templates/postgres-service.yaml


+ 0 - 0
test/nextcloud/1.4.1/templates/secrets.yaml → test/nextcloud/1.5.0/templates/secrets.yaml


+ 0 - 0
test/nextcloud/1.4.1/templates/service.yaml → test/nextcloud/1.5.0/templates/service.yaml


+ 0 - 0
test/nextcloud/1.4.1/templates/serviceaccount.yaml → test/nextcloud/1.5.0/templates/serviceaccount.yaml


+ 0 - 0
test/nextcloud/1.4.1/templates/tests/deployment-check.yaml → test/nextcloud/1.5.0/templates/tests/deployment-check.yaml


+ 0 - 0
test/nextcloud/1.4.1/test_values.yaml → test/nextcloud/1.5.0/test_values.yaml