forked from canonical/kafka-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
actions.yaml
35 lines (32 loc) · 1.55 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
# Copyright 2023 Canonical Ltd.
# See LICENSE file for licensing details.
# In Juju 3 this will be easier to copy
set-password:
description: Change an internal system user's password.
It is for internal charm users and SHOULD NOT be used by applications.
This action must be called on the leader unit.
params:
username:
type: string
description: The internal username to set password for.
enum: [admin, sync]
password:
type: string
description: The password will be auto-generated if this option is not specified.
required: [username]
set-tls-private-key:
description: Sets the private key identifying the target unit, which will be used for certificate signing requests (CSR).
When updated, certificates will be reissued to the unit.
Run for each unit separately. Requires a valid relation to an application providing the `certificates` relation interface.
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.
Can be raw-string, or base64 encoded.
get-admin-credentials:
description: Get administrator authentication credentials for client commands
The returned client_properties can be used for Kafka bin commands using `--bootstrap-server` and `--command-config` for admin level administration
This action must be called on the leader unit.
pre-upgrade-check:
description: Run necessary pre-upgrade checks before executing a charm upgrade.