add code to sync config maps

This commit is contained in:
Felix Kunde
2022-03-29 15:25:59 +02:00
parent aa8b4bf365
commit d643ad5e21
12 changed files with 409 additions and 35 deletions
+2 -1
View File
@@ -544,7 +544,8 @@ func (c *Controller) postgresqlCheck(obj interface{}) *acidv1.Postgresql {
Ensures the pod service account and role bindings exists in a namespace
before a PG cluster is created there so that a user does not have to deploy
these credentials manually. StatefulSets require the service account to
create pods; Patroni requires relevant RBAC bindings to access endpoints.
create pods; Patroni requires relevant RBAC bindings to access endpoints
or config maps.
The operator does not sync accounts/role bindings after creation.
*/