postgres-operator/pkg/cluster
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
..
cluster.go Bootstrapped databases with best practice role setup (#843) 2020-04-29 10:56:06 +02:00
cluster_test.go Bootstrapped databases with best practice role setup (#843) 2020-04-29 10:56:06 +02:00
database.go Bootstrapped databases with best practice role setup (#843) 2020-04-29 10:56:06 +02:00
exec.go Move operator to go 1.14 (#882) 2020-03-30 15:50:17 +02:00
filesystems.go reflect change in github url (#496) 2019-02-25 11:26:55 +01:00
k8sres.go Bootstrapped databases with best practice role setup (#843) 2020-04-29 10:56:06 +02:00
k8sres_test.go fix params in function call (#939) 2020-04-28 09:31:41 +02:00
pod.go Re-create pods only if all replicas are running (#903) 2020-04-20 15:14:11 +02:00
resources.go Prevent superuser from being a connection pool user (#906) 2020-04-09 09:21:45 +02:00
resources_test.go Emit K8S events to the postgresql CR as feedback to the requestor / user (#896) 2020-04-27 08:22:07 +02:00
sync.go Bootstrapped databases with best practice role setup (#843) 2020-04-29 10:56:06 +02:00
sync_test.go Emit K8S events to the postgresql CR as feedback to the requestor / user (#896) 2020-04-27 08:22:07 +02:00
types.go Prevent empty syncs (#922) 2020-04-16 15:14:31 +02:00
util.go Fully speced global sidecars (#890) 2020-04-27 17:40:22 +02:00
volumes.go Move operator to go 1.14 (#882) 2020-03-30 15:50:17 +02:00