diff --git a/config.yaml b/config.yaml index e69de29..baf3366 100644 --- a/config.yaml +++ b/config.yaml @@ -0,0 +1,45 @@ +"options": + "user": + "type": "string" + "description": "The database user name." + "default": "mysql" + "password": + "type": "string" + "description": "The database user password." + "default": "password" + "database": + "type": "string" + "description": "The database name." + "default": "database" + "root_password": + "type": "string" + "description": "The database root password." + "default": "root" + "mysql_port": + "type": "string" + "description": "The mysql port" + "default": "3306" + "query-cache-type": + "default": "OFF" + "type": "string" + "description": "Query cache is usually a good idea, but can hurt concurrency.\ + \ Valid values are \"OFF\", \"ON\", or \"DEMAND\"." + "query-cache-size": + "default": !!int "0" + "type": "int" + "description": "Override the computed version from dataset-size. Still works if\ + \ query-cache-type is \"OFF\" since sessions can override the cache type setting\ + \ on their own." + "ha-mode": + "type": "boolean" + "description": "Indicates if the charm should have the capabilities to scale" + "default": !!bool "false" + "image": + "type": "string" + "description": "OCI image" + "default": "rocks.canonical.com:443/mariadb/server:10.3" + "ha-image": + "type": "string" + "description": "OCI image" + "default": "rocks.canonical.com:443/canonicalosm/galera-mysql:latest" + \ No newline at end of file diff --git a/metadata.yaml b/metadata.yaml index e69de29..a9b537d 100644 --- a/metadata.yaml +++ b/metadata.yaml @@ -0,0 +1,24 @@ +"name": "mariadb-k8s" +"summary": "MySQL is a fast, stable and multi-user, multi-threaded SQL database" +"maintainers": +- "Juju Developers " +"description": | + MySQL is a fast, stable and true multi-user, multi-threaded SQL database + server. SQL (Structured Query Language) is the most popular database query + language in the world. The main goals of MySQL are speed, robustness and + ease of use. +"tags": +- "database" +- "openstack" +"series": +- "kubernetes" +"provides": + "mysql": + "interface": "mysql" +"deployment": + "type": "stateful" + "service": "cluster" +"storage": + "database": + "type": "filesystem" + "location": "/var/lib/mysql"