password rotation in K8s secrets

add db connection to syncSecrets
This commit is contained in:
Felix Kunde
2022-01-21 17:45:04 +01:00
parent 259acddfa0
commit ab9aff3775
12 changed files with 99 additions and 52 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ type Auth struct {
SuperUsername string `name:"super_username" default:"postgres"`
ReplicationUsername string `name:"replication_username" default:"standby"`
EnablePasswordRotation bool `name:"enable_password_rotation" default:"false"`
PasswordRotationInterval time.Duration `name:"password_rotation_interval" default:"90d"`
PasswordRotationInterval uint32 `name:"password_rotation_interval" default:"90"`
}
// Scalyr holds the configuration for the Scalyr Agent sidecar for log shipping: