Sergey Dudoladov
24b9e9f882
fix env vars
2019-05-15 16:55:18 +02:00
Sergey Dudoladov
422d80329a
merge master
2019-05-15 12:59:09 +02:00
Sergey Dudoladov
2c02b371e2
fix statefulset sync ( #563 )
2019-05-14 11:15:47 +02:00
Dmitry Dolgov
f29bdaf96a
Override clone s3 bucket path ( #487 )
...
Override clone s3 bucket path
Add possibility to use a custom s3 bucket path for cloning a cluster
from an arbitrary bucket (e.g. from another k8s cluster). For that
a new config options is introduced `s3_wal_path`, that should point
to a location that spilo would understand.
2019-05-10 12:52:42 +02:00
Felix Kunde
0fbfbb23bb
Use /status subresource instead of plain manifest field ( #534 )
...
* turns PostgresStatus type into a struct with field PostgresClusterStatus
* setStatus patch target is now /status subresource
* unmarshalling PostgresStatus takes care of previous status field convention
* new simple bool functions status.Running(), status.Creating()
2019-05-07 12:01:45 +02:00
Sergey Dudoladov
587ff74bdd
address 2nd part of code review
2019-05-03 14:11:22 +02:00
Sergey Dudoladov
6dc97d6fc1
Address first part of the code review
2019-05-03 11:21:09 +02:00
Sergey Dudoladov
b2d7034b48
minor correction
2019-04-23 18:13:40 +02:00
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