skip db user actions when its secret failed to sync on update (#2969)

* skip db user actions when its secret failed to sync on update
* need to add new pgUser field to e2e test
* lets collect errors of syncSecret so we still get status updateFailed
This commit is contained in:
Felix Kunde
2025-11-05 16:28:37 +01:00
committed by GitHub
parent 1af4c50ed0
commit 2c57498e43
5 changed files with 69 additions and 20 deletions
+1
View File
@@ -58,6 +58,7 @@ type PgUser struct {
IsDbOwner bool `yaml:"is_db_owner"`
Deleted bool `yaml:"deleted"`
Rotated bool `yaml:"rotated"`
Degraded bool `yaml:"degraded"`
}
func (user *PgUser) Valid() bool {