How to bootstrap grafana to connect to SSL Enabled Datasource.
Note.
This steps only applies for the case when the Datasources(MYSQL,POSTGRESS…) are SSL Enabled
While in kubernetes folder, change working directory to
post-deployment/config/grafana/supervisor-dashboards/
Open
datasource.yml
file.Update the following values.
Note.
The values for the certificates needs to be stringified before they are applied. You can use this online tool or any other tool to stringify your certificates. JSON Stringify
Key | Value | Type |
---|---|---|
tlsAuthWithCACert | true | boolean |
tlsAuth | true | boolean |
tlsCACert | <replace with Customers Datasource ca.pem file> | String |
tlsClientCert | <replace with Customers Datasource client-cert.pem file> | String |
tlsClientKey | <replace with Customers Datasource client-key.pem file> | String |