kedacore/keda

Resolve trigger configuration from environment variables

Ouverte

#753 ouverte le 17 avr. 2020

 (33 commentaires) (8 réactions) (0 personne assignée)Go (1 457 forks)auto 404
enhancementfeaturegood first issuehelp wanted

Métriques du dépôt

Stars
 (10 372 étoiles)
Métriques de merge PR
 (Merge moyen 8j 8h) (94 PRs mergées en 30 j)

Description

Azure Functions provides a way to load trigger configuration values from an environment variable using an app setting binding expression (i.e. %syntax%) KEDA currently requires some values to be read from an environment variable / secret (e.g. connection strings), but other ones it requires literal values (e.g. queue name). It would be nice if there was also syntax to let KEDA know a value should be resolved from the target deployment environment variable.

Use-Case

As an Azure Functions developer who has built a function with a trigger that uses an app setting binding expression, I want to have similar syntax resolved by KEDA to resolve trigger configuration from environment variables, so that I have a consistent experience with trigger configuration (including connection strings) and am not forced to write alternative solutions such as Helm charts.

Specification

  • Trigger configuration should optionally be resolved from environment variables
  • KEDA should support syntax which allows a developer to indicate trigger configuration is to be resolved from environment variables
  • Syntax used to indicate configuration from environment variables should be consistent for all trigger configuration (not specific to connection strings)

Guide contributeur