Commit Graph

326 Commits

Author SHA1 Message Date
Sergey Dudoladov 0f9d6dcad2 adjust names of env vars 2019-04-23 18:11:38 +02:00
Sergey Dudoladov 0cac277541 add suffix for the logical backup bucket 2019-04-23 16:34:36 +02:00
Sergey Dudoladov 01b066b7a3 remove namespace from backup name 2019-04-17 17:58:41 +02:00
Sergey Dudoladov 65b87d1c53 remove unnecessary pointer 2019-04-17 17:43:41 +02:00
Sergey Dudoladov e2a4876ce4 change delete logic 2019-04-17 17:19:27 +02:00
Sergey Dudoladov 4cf37c4f3e properly set the job name 2019-04-17 17:00:24 +02:00
Sergey Dudoladov bd9d0fcd38 code cleanup 2019-04-17 16:55:37 +02:00
Sergey Dudoladov a73b986b45 Minor code changes 2019-04-16 18:03:33 +02:00
Sergey Dudoladov eb82078f99 minor code fixes for cluster creation 2019-04-16 17:19:45 +02:00
Sergey Dudoladov 54c4a044e6 doc and conf updates 2019-04-16 16:49:43 +02:00
Sergey Dudoladov 273c8e3bcb address static checks 2019-04-16 14:12:23 +02:00
Sergey Dudoladov dc2f7072c7 adjust deletion and cronjob conf 2019-04-16 14:02:49 +02:00
Sergey Dudoladov 2d720c9a2a properly log job's name 2019-04-16 12:11:29 +02:00
Sergey Dudoladov fe1d1b2dec add special case for Sync 2019-04-16 11:56:27 +02:00
Sergey Dudoladov d4ebd33db8 minor changes 2019-04-16 11:23:11 +02:00
Sergey Dudoladov a816483a28 add update skeleton 2019-04-15 17:19:35 +02:00
Sergey Dudoladov a02031448d update branch after merging master 2019-04-15 14:38:22 +02:00
Sergey Dudoladov f1dbd3c3d6 Merge branch 'master' into add-logical-backup 2019-04-15 14:03:01 +02:00
Sergey Dudoladov b79ee0db6f fix static check violations 2019-04-11 16:06:34 +02:00
Sergey Dudoladov 0f1e19625e add code skeleton for CronJob Sync 2019-04-08 16:57:34 +02:00
Sergey Dudoladov 6f855d5190 minore changes 2019-04-08 15:03:56 +02:00
Sergey Dudoladov daf4e3acc0 add basic affinity setup 2019-04-05 12:08:52 +02:00
Sergey Dudoladov 9ad38d5520 Minor doc/code fixes 2019-04-05 11:37:50 +02:00
Aaron Miller 15ec6a920d Config option to allow Spilo container to run non-privileged. (#525)
* Config option to allow Spilo container to run non-privileged.

Runs non-privileged by default.

Fixes #395

* add spilo_privileged to manifests/configmap.yaml

* add spilo_privileged to helm chart's values.yaml
2019-04-03 17:13:39 +02:00
Sergey Dudoladov c95aa29bec generate env for logical backup pod 2019-04-03 17:06:44 +02:00
Sergey Dudoladov 6d46f9cba7 remove unnecessary volume mount 2019-04-03 13:58:21 +02:00
Sergey Dudoladov 2f12c89f0e minor bug fixes 2019-04-03 13:31:24 +02:00
Sergey Dudoladov 99a3712422 Delete the cron job on cluster deletion 2019-04-03 12:19:09 +02:00
Sergey Dudoladov 40175633a5 properly generate podTemplate for the cron job's pod 2019-04-02 15:26:27 +02:00
Sergey Dudoladov 0e5ed5ee8f Merge branch 'master' into add-logical-backup 2019-04-01 13:52:18 +02:00
Stephane T edeb06d39c fix: update init_containers (#518)
* fix: PATH expension in Makefile

Signed-off-by: Stephane Tang <hi@stang.sh>

* refact: pass list of containers to compareContainers()

Signed-off-by: Stephane Tang <hi@stang.sh>

* compare initContainers while comparing StatefulSet

  Fixes #517

Signed-off-by: Stephane Tang <hi@stang.sh>

* refact: compareContainers()

Signed-off-by: Stephane Tang <hi@stang.sh>
2019-03-19 17:46:12 +01:00
Sergey Dudoladov 0b53dbe5dc
Set statefulset update and management policy explicitly (#515)
* fix logging in retry

* explicitly set the stateful set update strategy to onDelete

* add podManagementPolicy
2019-03-13 11:49:18 +01:00
Sergey Dudoladov bc0923dab8 use custmom schedule 2019-03-07 13:22:35 +01:00
Sergey Dudoladov 825c5139c3 Merge branch 'master' into add-logical-backup 2019-03-05 14:07:48 +01:00
Vineeth Reddy db72d82f14 gofmt and golint fixes (#506)
* fix gofmt and golint issues
2019-03-04 13:13:55 +01:00
Sergey Dudoladov 587d9091e7
Set HUMAN_ROLE Spilo env var (#409)
* Set HUMAN_ROLE Spilo env var
2019-02-27 13:40:42 +01:00
Sergey Dudoladov 18e2d7a26f address a code review 2019-02-27 13:24:35 +01:00
Sergey Dudoladov 9d430fc141 resolve merge conflicts 2019-02-27 13:07:48 +01:00
Felix Kunde 31e568157b reflect change in github url (#496)
Project was moved from the incubator to the Zalando main org, hence the rename
2019-02-25 11:26:55 +01:00
teuto.net Netzdienste GmbH 26a7fdfa9f Add Pod Anti Affinity (#489)
* Add Pod Anti Affinity
2019-02-21 16:37:03 +01:00
Stephane T d11b23bd71 Add inherited_labels (#459)
* add support for inherited_labels

Signed-off-by: Stephane Tang <hi@stang.sh>

* update docs with inherited_labels

Signed-off-by: Stephane Tang <hi@stang.sh>
2019-02-14 12:29:06 +01:00
Maxim Ivanov ed6acc1178 Correctly report success in .status on Update (#469) 2019-01-31 13:09:17 +01:00
Maxim Ivanov 3544cc90fa Allow specifying init_containers in Postgres CRD (#445)
* Add support for init_containers
2019-01-29 11:08:44 +01:00
Armin Nesiren 6f6a599c90 Added possibility to add custom annotations to LoadBalancer service. (#461)
* Added possibility to add custom annotations to LoadBalancer service.
2019-01-25 11:35:27 +01:00
Maxim Ivanov 8330905ce7 Don't panic if Service for the role was not found (#451) 2019-01-18 13:38:47 +01:00
Sergey Dudoladov 11019f557e Submit hello world cron job 2019-01-15 15:44:57 +01:00
Sergey Dudoladov 68755ffff5 Generate empty cron job spec 2019-01-14 16:14:50 +01:00
Sergey Dudoladov 5c7233a483 Add a stub method for cron job creation 2019-01-11 16:03:18 +01:00
Jan Mussler c70905ae8b Modifying some of the logging to be more descriptive. (#440)
* Modifying some of the logging to be more descriptive.
2019-01-08 13:07:36 +01:00
zerg-junior 4b5d3cd121
Fix golint failures
* Fix golint fails based on the original work from  the user u5surf

* Skip installing Docker as CDP now have one pre-installed (repairs builds on CDP)
2019-01-08 13:04:48 +01:00