postgres-operator/pkg/util
Felix Kunde d76203b3f9
Bootstrapped databases with best practice role setup (#843)
* PreparedDatabases with default role setup

* merge changes from master

* include preparedDatabases spec check when syncing databases

* create a default preparedDB if not specified

* add more default privileges for schemas

* use empty brackets block for undefined objects

* cover more default privilege scenarios and always define admin role

* add DefaultUsers flag

* support extensions and defaultUsers for preparedDatabases

* remove exact version in deployment manifest

* enable CRD validation for new field

* update generated code

* reflect code review

* fix typo in SQL command

* add documentation for preparedDatabases feature + minor changes

* some datname should stay

* add unit tests

* reflect some feedback

* init users for preparedDatabases also on update

* only change DB default privileges on creation

* add one more section in user docs

* one more sentence
2020-04-29 10:56:06 +02:00
..
config Lazy upgrade of the Spilo image (#859) 2020-04-29 10:07:14 +02:00
constants Bootstrapped databases with best practice role setup (#843) 2020-04-29 10:56:06 +02:00
filesystems Fix golint warnings 2017-08-01 16:08:56 +02:00
k8sutil Emit K8S events to the postgresql CR as feedback to the requestor / user (#896) 2020-04-27 08:22:07 +02:00
patroni Re-create pods only if all replicas are running (#903) 2020-04-20 15:14:11 +02:00
retryutil Fix golint failures 2019-01-08 13:04:48 +01:00
ringlog fix comments for ringlogger 2017-09-26 13:12:38 +02:00
teams Move operator to go 1.14 (#882) 2020-03-30 15:50:17 +02:00
users Bootstrapped databases with best practice role setup (#843) 2020-04-29 10:56:06 +02:00
volumes reflect change in github url (#496) 2019-02-25 11:26:55 +01:00
util.go Connection pooler (#799) 2020-03-25 12:57:26 +01:00
util_test.go Enforce minimum cpu and memory limits (#731) 2019-12-12 16:43:55 +01:00