You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* password rotation in K8s secrets
* add db connection to syncSecrets
* add user retention
* add e2e test
* cleanup on username mismatch if rotation was switched off
* add unit test for syncSecrets + new updateSecret func
Copy file name to clipboardExpand all lines: docs/reference/cluster_manifest.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -115,6 +115,22 @@ These parameters are grouped directly under the `spec` key in the manifest.
115
115
create the K8s secret in that namespace. The part after the first `.` is
116
116
considered to be the user name. Optional.
117
117
118
+
***usersWithSecretRotation**
119
+
list of users to enable credential rotation in K8s secrets. The rotation
120
+
interval can only be configured globally. On each rotation a new user will
121
+
be added in the database replacing the `username` value in the secret of
122
+
the listed user. Although, rotation users inherit all rights from the
123
+
original role, keep in mind that ownership is not transferred. See more
124
+
details in the [administrator docs](https://github.com/zalando/postgres-operator/blob/master/docs/administrator.md#password-rotation-in-k8s-secrets).
125
+
126
+
***usersWithInPlaceSecretRotation**
127
+
list of users to enable in-place password rotation in K8s secrets. The
128
+
rotation interval can only be configured globally. On each rotation the
129
+
password value will be replaced in the secrets which the operator reflects
130
+
in the database, too. List only users here that rarely connect to the
131
+
database, like a flyway user running a migration on Pod start. See more
132
+
details in the [administrator docs](https://github.com/zalando/postgres-operator/blob/master/docs/administrator.md#password-replacement-without-extra-users).
133
+
118
134
***databases**
119
135
a map of database names to database owners for the databases that should be
120
136
created by the operator. The owner users should already exist on the cluster
0 commit comments