Charmed MySQL

  • By Canonical Data Platform
  • Cloud
Channel Revision Published Runs on
8.0/stable 196 29 Sep 2023
Ubuntu 22.04
8.0/candidate 203 14 Dec 2023
Ubuntu 22.04
8.0/beta 232 02 May 2024
Ubuntu 22.04
8.0/edge 232 02 May 2024
Ubuntu 22.04
juju deploy mysql --channel 8.0/stable
Show information

Platform:

Ubuntu
22.04

charms.mysql.v0.tls

Library containing the implementation of the tls certificates relation for mysql charm.

This library is used by the mysql charm to provide the TLS certificates relation. It requires the TLS certificates library and the MySQL library.


class MySQLTLS

Description

MySQL TLS Provider class. None

Methods

MySQLTLS. __init__( self , charm )

MySQLTLS. get_tls_content( self )

Retrieve TLS content.

Returns

A tuple of strings with the content of server-key, ca and server-cert

Description

Return TLS files as required by mysql.

MySQLTLS. push_tls_files_to_workload( self )

Description

Push TLS files to unit. None