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
|**`metadata`**<br />*[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#objectmeta-v1-meta)*| :material-check: | Refer to Kubernetes API documentation for fields of metadata. |
@@ -83,6 +83,15 @@ PostgresRoleSpec holds the specification of a PostgreSQL role.
83
83
|**`secretName`**<br />*string*| :material-close: | Name of the Secret the operator should create, containing the role's log in information.<br />*Default: `""`*|
84
84
|**`secretTemplate`**<br />*map[string]string*| :material-close: | Dictionnary containing the key/value to configure in the Secret created by the operator (cf. `secretName`).<br />*Default: `{}`*|
85
85
|**`memberOfRoles`**<br />*[]string*| :material-close: | List of role's names of which the role should be member of.<br />*Default: `[]`*|
86
+
|**`onDelete`**<br />*[PostgresRoleOnDeleteSpec](#postgresroleondeletespec)*| :material-close: | Options to change the operator's default behavior on resource deletion.<br />*Default: `nil`*|
87
+
88
+
### PostgresRoleOnDeleteSpec
89
+
90
+
PostgresRoleOnDeleteSpec holds the options to change the operator's behavior when deleting a resource.
91
+
92
+
| Field | Required | Description |
93
+
|-------|----------|-------------|
94
+
|**`reassignOwnedTo`**<br />*string*| :material-close: | Reassign objects owned by the current role to another.<br />*Default: `""`*|
0 commit comments