forked from canonical/mysql-k8s-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathactions.yaml
57 lines (48 loc) · 2.04 KB
/
actions.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
55
56
57
# Copyright 2022 Canonical Ltd.
# See LICENSE file for licensing details.
get-cluster-status:
description: Get cluster status information without topology
get-password:
description: Fetch the system user's password, which is used by charm.
It is for internal charm users and SHOULD NOT be used by applications.
params:
username:
type: string
description: The username, the default value 'root'.
Possible values - root, serverconfig, clusteradmin.
set-password:
description: Change the system user's password, which is used by charm.
It is for internal charm users and SHOULD NOT be used by applications.
params:
username:
type: string
description: The username, the default value 'root'.
Possible values - root, serverconfig, clusteradmin.
password:
type: string
description: The password will be auto-generated if this option is not specified.
set-tls-private-key:
description:
Set the privates key, which will be used for certificate signing requests (CSR). Run
for each unit separately.
params:
internal-key:
type: string
description: The content of private key for internal communications with
clients. Content will be auto-generated if this option is not specified.
create-backup:
description: Create a database backup using xtrabackup.
S3 credentials are retrieved from a relation with the S3 integrator charm.
list-backups:
description: List available backup_ids in the S3 bucket and path provided by the S3 integrator charm.
restore:
description: Restore a database backup using xtrabackup.
S3 credentials are retrieved from a relation with the S3 integrator charm.
params:
backup-id:
type: string
description: A backup-id to identify the backup to restore (format = %Y-%m-%dT%H:%M:%SZ)
pre-upgrade-check:
description: Run necessary pre-upgrade checks and preparations before executing a charm refresh.
resume-upgrade:
description: Resume a rolling upgrade after asserting successful upgrade of a new revision.