postgres-operator/pkg
Oleksii Kliukin c597377617
Use cluster UID as a suffix to the WAL bucket. (#211)
Avoid reusing WAL S3 buckets of the older cluster with the same name as the existing one.

For the new cluster, the S3 bucket name will include a suffix that is equal to the UID of the PostgreSQL object describing the cluster. That way, the bucket name will stay the same for all members iff  they correspond to the same PostgreSQL cluster object.

When "clone: uid:" key is present in the cluster manifest and the cluster is cloned from an S3 bucket (currently that happens if the endTimestamp is present in the clone description) the S3 bucket to clone from is suffixed with the -uid value.
2018-02-20 15:36:43 +01:00
..
apiserver WIP: Hold the proper locks while examining the list of databases. 2017-12-22 13:06:11 +01:00
cluster Use cluster UID as a suffix to the WAL bucket. (#211) 2018-02-20 15:36:43 +01:00
controller Make operator watch its own namespace instead of controller's one 2018-02-16 14:22:38 +01:00
spec Use cluster UID as a suffix to the WAL bucket. (#211) 2018-02-20 15:36:43 +01:00
util Watch the namespace where operator deploys to unless told otherwise 2018-02-13 18:17:47 +01:00