Skip to content

Commit

Permalink
feat: support TriggerAuthentication properties from ConfigMap
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Wozniak <wozniak.jan@gmail.com>
  • Loading branch information
wozniakjan committed Oct 25, 2023
1 parent e2fef7d commit d02b592
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions content/docs/2.13/authentication-providers/configmap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
+++
title = "ConfigMap"
+++

You can pull information into the trigger by defining the `name` of the Kubernetes `ConfigMap` and the `key` to use.

```yaml
configMapTargetRef: # Optional.
- parameter: connectionString # Required - Defined by the scale trigger
name: my-keda-configmap-resource-name # Required.
key: azure-storage-connectionstring # Required.
```
**Assumptions:** `namespace` is in the same resource as referenced by `scaleTargetRef.name` in the `ScaledObject`, unless specified otherwise.

0 comments on commit d02b592

Please sign in to comment.