Updates the connection settings with an external database.
clusterctl database set external --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 <db-password> user password.
Mandatory: No. This value is prompted to the user when omitted. For example:
$ sudo clusterctl database set external --db-host 10.10.10.10 --db-port 3333 --db-name mydb--db-username adminPassword:Installing ⠏ ╢░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟ 0 %--tls-enabled <yes|no>
yes to enable TLS security in the connections with the database; no otherwise.
Mandatory: Yes.
--ca-certificate <ca-certificate>
Validate the database server certificate with the CA certificate chain in the <ca-certificate> file.
See Updating the validation chain of the database TLS certificate for how to replace the CA chain of the database certificate.
Mandatory: No.