-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathactions.yaml
62 lines (54 loc) · 2.25 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
get-password:
description: Change the system user's password 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, monitor.
set-password:
description: Change the system user's password 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, 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>
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 remaining units (after you manually verified that refreshed units are healthy).
params:
force:
type: boolean
default: false
description: |
Potential of *data loss* and *downtime*
Force refresh of next unit.
Use to
- force incompatible refresh and/or
- continue refresh if 1+ refreshed units have non-active status