Skip to content

Commit

Permalink
copied over config.yaml and metadata.yaml from the reactive version o…
Browse files Browse the repository at this point in the history
…f the charm
  • Loading branch information
SMAK1993 committed Mar 7, 2020
1 parent 7c2a022 commit 9944a31
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 0 deletions.
45 changes: 45 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
@@ -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"

24 changes: 24 additions & 0 deletions metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
"name": "mariadb-k8s"
"summary": "MySQL is a fast, stable and multi-user, multi-threaded SQL database"
"maintainers":
- "Juju Developers <juju@lists.ubuntu.com>"
"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"

0 comments on commit 9944a31

Please sign in to comment.