postgres-operator/pkg/cluster
Oleksii Kliukin 8b85935a7a Allow cloning clusters from the operator. (#90)
Allow cloning clusters from the operator.

The changes add a new JSON node `clone` with possible values `cluster`
and `timestamp`. `cluster` is mandatory, and setting a non-empty
`timestamp` triggers wal-e point in time recovery. Spilo and Patroni do
the whole heavy-lifting, the operator just defines certain variables and
gathers some data about how to connect to the host to clone or the
target S3 bucket.

As a minor change, set the image pull policy to IfNotPresent instead
of Always to simplify local testing.

Change the default replication username to standby.
2017-09-08 16:47:03 +02:00
..
cluster.go Add patroni api client 2017-08-30 16:01:18 +02:00
exec.go Fix golint warnings 2017-08-01 16:08:56 +02:00
filesystems.go Make use of kubernetes client-go v4 2017-07-25 15:25:17 +02:00
k8sres.go Allow cloning clusters from the operator. (#90) 2017-09-08 16:47:03 +02:00
pg.go start all the log messages with lowercase letters 2017-08-15 10:12:36 +02:00
pod.go start all the log messages with lowercase letters 2017-08-15 10:12:36 +02:00
resources.go fetch cluster resources by name, not by label selectors 2017-09-04 18:03:54 +02:00
sync.go rename service field to services as it contains service per role 2017-08-15 15:55:56 +02:00
types.go Fix golint warnings 2017-08-01 16:08:56 +02:00
util.go Allow cloning clusters from the operator. (#90) 2017-09-08 16:47:03 +02:00
volumes.go start all the log messages with lowercase letters 2017-08-15 10:12:36 +02:00