generated from canonical/template-operator
-
Notifications
You must be signed in to change notification settings - Fork 12
/
config.yaml
54 lines (53 loc) · 2.1 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Copyright 2021 Canonical Ltd.
# See LICENSE file for licensing details.
options:
cluster-name:
description: Optional - Name of the MySQL InnoDB cluster, set once at deployment
type: string
cluster-set-name:
description: |
Optional - Name for async replication cluster set, set once at deployment.
On `recreate-clster` action call, the cluster set name will be re-generated automatically.
type: string
profile:
description: |
profile representing the scope of deployment, and used to be able to enable high-level
customisation of sysconfigs, resource checks/allocation, warning levels, etc.
Allowed values are: “production” and “testing”.
type: string
default: production
profile-limit-memory:
type: int
description: |
Amount of memory in Megabytes to limit MySQL and associated process to.
If unset, this will be decided according to the default memory limit in the selected profile.
Only comes into effect when the `production` profile is selected.
# Config options for the legacy 'mysql relation'
mysql-interface-user:
description: The database username for the legacy 'mysql' relation
type: string
mysql-interface-database:
description: The database name for the legacy 'mysql' relation
type: string
plugin-audit-enabled:
description: Enable the audit plugin
type: boolean
default: true
plugin-audit-strategy:
description: |
Audit log plugin strategy. Allowed values are: "semi-async" and "async".
Ref. at https://docs.percona.com/percona-server/8.0/audit-log-plugin.html#audit_log_strategy
type: string
default: async
binlog_retention_days:
description: Number of days for binary logs retention
type: int
default: 7
# Experimental features
experimental-max-connections:
type: int
description: |
Maximum number of connections allowed to the MySQL server.
When set max-connections value take precedence over the memory utilizations
againts innodb_buffer_pool_size.
This is an experimental feature and may be removed in future releases.