Manages KEDA TriggerAuthentication metadata grouped under a single trigger for a dokku application or globally
Partial - trigger authentication metadata values are secrets, so they are written to the companion vars-file.
Supported.
Keyed by app, global, and trigger. Fields left empty are omitted from the address. Manages the whole metadata collection; entries are identified by their key.
| Parameter | Type | Required | Default | Choices | Description |
|---|---|---|---|---|---|
app |
string | no | Name of the app. Required if Global is false. | ||
global |
bool | no | Flag indicating if the trigger authentication should be applied globally | ||
trigger |
string | yes | Name of the KEDA trigger authentication resource | ||
metadata |
dict | no | Map of metadata key to value for the trigger authentication. On absent, only the keys are read. | ||
state |
string | no | present | present, absent | Desired state of the trigger authentication metadata |
dokku_scheduler_k3s_autoscaling_auth:
app: node-js-app
trigger: aws-secret-manager
metadata:
awsRegion: us-east-1
secretName: my-secretdokku_scheduler_k3s_autoscaling_auth:
app: ""
global: true
trigger: aws-secret-manager
metadata:
awsRegion: us-east-1
roleArn: arn:aws:iam::123456789012:role/kedadokku_scheduler_k3s_autoscaling_auth:
app: node-js-app
trigger: aws-secret-manager
metadata:
secretName: ""
state: absentAvailable after the task runs when captured with register:, referenced as result.<Key> (or registered.<name>.<Key>).
| Key | Returned | Type | Description |
|---|---|---|---|
Changed |
always | bool | Whether the task changed server state. |
State |
always | string | Resulting state of the resource. |
DesiredState |
always | string | The state the task targeted. |
Message |
always | string | Human-readable result message (may be empty). |
Commands |
when a subprocess ran | list | Resolved dokku command lines executed. |
Stdout |
when a subprocess ran | string | Captured stdout of the final command. |
Stderr |
when a subprocess ran | string | Captured stderr of the final command. |
ExitCode |
when a subprocess ran | int | Exit code of the final command. |