Commit Graph

42 Commits

Author SHA1 Message Date
Waqar Ahmed 770b060bbc Add helper function for postgres name 2020-12-14 19:41:16 +05:00
Waqar Ahmed b30c99586f Use pg_isready for determining if postgres is up 2020-12-14 19:41:16 +05:00
Waqar Ahmed 68044d4835 Update nextcloud chart version 2020-12-14 19:41:16 +05:00
Waqar Ahmed 4b1570fc58 Update test values 2020-12-14 19:41:16 +05:00
Waqar Ahmed e52e28fa3c Use unique name for backup 2020-12-14 19:41:16 +05:00
Waqar Ahmed 8d8fe11e6b Add helper functions to retrieve new/old chart versions 2020-12-14 19:41:16 +05:00
Waqar Ahmed 142c8354f8 Use a configmap for a script to take backup of postgres 2020-12-14 19:41:16 +05:00
Waqar Ahmed 1f15d72cf0 Take postgres backup on upgrade 2020-12-14 19:41:16 +05:00
Waqar Ahmed dbde74851d Add upgrade hook where we nuke nextcloud/postgres deployments 2020-12-14 19:41:16 +05:00
Waqar Ahmed 0283799700 Add service account to manage deployments in nextcloud 2020-12-14 19:41:16 +05:00
Waqar Ahmed f3fddff354 Use nc instead of nslookup while waiting for postgres to come up
Using nslookup, the wait time for nextcloud pod to come up can be up to 1-5 minutes. This is reduced with nc to 5-10 seconds.
2020-12-12 02:34:19 +05:00
Waqar Ahmed 27c4d3c98b Update nextcloud chart version 2020-12-09 19:34:49 +05:00
Waqar Ahmed 9f876dc902 Update minio/nextcloud port defaults 2020-12-09 06:36:38 +05:00
Waqar Ahmed e3658579c0 Add nodeip default 2020-12-08 21:00:53 +05:00
Waqar Ahmed f015c830ab Always roll out deployment on update 2020-12-08 20:30:56 +05:00
Waqar Ahmed 7abbec70ef Add web portal uri for nextcloud 2020-12-08 19:40:50 +05:00
Waqar Ahmed 926b781bff Define image pull policy for init container 2020-12-08 19:40:50 +05:00
Waqar Ahmed 23892730f3 Use emptydir volumes for nextcloud chart test 2020-12-08 19:40:50 +05:00
Waqar Ahmed 254ff0ab4d Correctly populate storage fields 2020-12-08 19:40:50 +05:00
Waqar Ahmed 3750f4bdbd Fix nodeport for ci test 2020-12-08 19:40:50 +05:00
Waqar Ahmed 5f1283b4c4 Fix deployment test 2020-12-08 19:40:50 +05:00
Waqar Ahmed 126ba367c8 Add test values yaml file 2020-12-08 19:40:50 +05:00
Waqar Ahmed af0148456d Clean nextcloud chart stripping to basics 2020-12-08 19:40:50 +05:00
Waqar Ahmed f85006a283 Clean values 2020-12-08 19:40:50 +05:00
Waqar Ahmed 74e7929207 Clean internal/external db references 2020-12-08 19:40:50 +05:00
Waqar Ahmed 8b7530d3bd Add init container to nextcloud pod to make sure it's not started until postgres is up 2020-12-08 19:40:50 +05:00
Waqar Ahmed 7a148e5a3f Properly configure postgres host path 2020-12-08 19:40:50 +05:00
Waqar Ahmed 0beb16ffe9 Properly initialise nextcloud with postgres 2020-12-08 19:40:50 +05:00
Waqar Ahmed ed7270ecc0 Only use postgres and remove sqlite support 2020-12-08 19:40:50 +05:00
Waqar Ahmed 0995fc4923 Set postgres credentials in nextcloud deployment 2020-12-08 19:40:50 +05:00
Waqar Ahmed 817de8f1b0 Remove liveness/readiness probes 2020-12-08 19:40:50 +05:00
Waqar Ahmed f323a2ce5a Clean nextcloud deployment removing nginx traces 2020-12-08 19:40:50 +05:00
Waqar Ahmed 43ab3e05fe Add postgresql deployment 2020-12-08 19:40:50 +05:00
Waqar Ahmed eb3c7a6ae6 Initial postgres support 2020-12-08 19:40:50 +05:00
Waqar Ahmed 918fbb0963 Clean service configuration 2020-12-08 19:40:50 +05:00
Waqar Ahmed c0552c3c33 Remove nextcloud chart deps 2020-12-08 19:40:50 +05:00
Waqar Ahmed 8e719a4787 Allow using host path or ix volume for persistent data storage 2020-12-08 19:40:50 +05:00
Waqar Ahmed aa33f73fda Use port 80 for nodeport service 2020-12-08 19:40:50 +05:00
Waqar Ahmed a91f3fe2f1 Use nodeport for nextcloud 2020-12-08 19:40:50 +05:00
Waqar Ahmed b56a40cec3 Add basic questions.yaml allowing chart to be deployed via middleware api 2020-12-08 19:40:50 +05:00
Waqar Ahmed aa49bf1741 Add item configuration file 2020-12-08 19:40:50 +05:00
Waqar Ahmed 268b17f68c Add initial nextcloud upstream chart 2020-12-08 19:40:50 +05:00