-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathactions.yaml
69 lines (59 loc) · 2.5 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
58
59
60
61
62
63
64
65
66
67
68
69
# Copyright 2024 Canonical Ltd.
# See LICENSE file for licensing details.
get-primary:
description: Report primary replica
get-password:
description:
Fetch the password of the provided internal user of the charm, used for internal charm operations.
It is for internal charm users only, and SHOULD NOT be used by applications.
params:
username:
type: string
description: The username, the default value 'operator'.
Possible values - operator, backup, monitor.
set-password:
description: Change the admin 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 'operator'.
Possible values - operator, backup, monitor.
password:
type: string
description: The password will be auto-generated if this option is not specified.
create-backup:
description: Create a database backup.
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.
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 of <%Y-%m-%dT%H:%M:%SZ>
remap-pattern:
type: string
description:
Optional, a pattern used to remap cluster component names when performing a restore.
Format of old_config_server_name=new_config_server_name,old_shard_name=new_shard_name
set-tls-private-key:
description: Set the privates key, which will be used for certificate signing requests (CSR). Run for each unit separately.
params:
external-key:
type: string
description: The content of private key for external communications with clients. Content will be auto-generated if this option is not specified.
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.
pre-refresh-check:
description: Check if charm is ready to refresh
resume-refresh:
description: |
Refresh next unit(s) (after you have manually verified that refreshed units are healthy)
force-refresh-start:
description: |
Force refresh of this unit.
Potential of data loss and downtime.