Allow users to change pg name, pw & db name for a managed postgres

- set default value for postgres-configuration type as unmanaged if secret is created
This commit is contained in:
Christian M. Adams
2021-04-16 09:32:34 -04:00
parent 5b32c41277
commit 8f760e2842
4 changed files with 10 additions and 5 deletions

View File

@@ -229,9 +229,12 @@ stringData:
username: <username to connect as>
password: <password to connect with>
sslmode: prefer
type: unmanaged
type: Opaque
```
> It is possible to set a specific username, password, or database, but still have the database managed by the operator. In this case, when creating the postgres-configuration secret, the `type: managed` field should be added.
**Note**: The variable `sslmode` is valid for `external` databases only. The allowed values are: `prefer`, `disable`, `allow`, `require`, `verify-ca`, `verify-full`.
#### Migrating data from an old AWX instance