Modifies the database configuration.
clusterctl database set --host <db-host> --port <db-port> --name <db-name> --username <db-username> [--password <db-password>] [--ca-certificate <db-ca-certificate>]See below for a description of each parameter.
--host <db-host>
Connect to the database with the <db-host> domain name or IP address.
Mandatory: Yes.
--port <db-port>
Connect to the DBMS using the <db-port> port.
Mandatory: Yes.
--name <db-name>
Select the database with the <db-name> name.
Mandatory: Yes.
--username <db-username>
Authenticate in the database as the basic auth user with the <username> username.
Mandatory: Yes.
--password <db-password>
Authenticate in the database with the <password> user password.
Mandatory: No. This value is prompted to the user when omitted.
--tls-enabled <yes|no>
yes to enable TLS security in the connections with the database; no otherwise.
Mandatory: Yes.
--ca-certificate <db-ca-certificate>
Validate the TLS certificate of the DBMS using <db-ca-certificate>, where <db-ca-certificate> is the path to a PEM-encoded certificate file.
Mandatory: When enabling TLS.