feat(http-add-on): allow setting extra environment variables#762
feat(http-add-on): allow setting extra environment variables#762ilia-medvedev wants to merge 1 commit into
Conversation
Signed-off-by: Ilia Medvedev <[email protected]>
|
Is there an ETA for merging this PR? I really want to set Thanks in advance EDIT: I just saw that the env var that I mentioned has not been included in a release of the http-add-on yet, and I assume it will be added when the release will be done |
There was a problem hiding this comment.
this is a great addition, thank you!
can you please just make it follow the convention set by KEDA as implemented in #245. The extra args are configured on KEDA through key value map, e.g.
extraArgs:
interceptor:
arg1: val-for-arg1
arg2: "val for arg 2 with spaces"|
The PR #245 is for startup arguments (extra args), this pr is for extra environment variables (as https://github.com/kedacore/charts/blob/main/keda/templates/manager/deployment.yaml#L173) env:
- name: KEDA_FOO
value: barWithout this PR, we can't activate metrics or tracing. |
The http-add-on chart did not have the ability yet to add custom extra env variables to the deployments. This implements it according to the standard set in the PR implementing the extra container ags, using an object instead of a list of objects. (See for this PR: kedacore#245) A previous PR was already made some time ago but it did not adhere to the requested convention: kedacore#762 This PR tries to solve that issue.
The http-add-on chart did not have the ability yet to add custom extra env variables to the deployments. This implements it according to the standard set in the PR implementing the extra container ags, using an object instead of a list of objects. (See for this PR: kedacore#245) A previous PR was already made some time ago but it did not adhere to the requested convention: kedacore#762 This PR tries to solve that issue. Signed-off-by: Robin de Rooij <[email protected]>
|
Just for reference, I implemented it in the way @wozniakjan mentioned in #777 |
The http-add-on chart did not have the ability yet to add custom extra env variables to the deployments. This implements it according to the standard set in the PR implementing the extra container ags, using an object instead of a list of objects. (See for this PR: kedacore#245) A previous PR was already made some time ago but it did not adhere to the requested convention: kedacore#762 This PR tries to solve that issue. Signed-off-by: Robin de Rooij <[email protected]>
* Add ability to add extra ENV vars to containers The http-add-on chart did not have the ability yet to add custom extra env variables to the deployments. This implements it according to the standard set in the PR implementing the extra container ags, using an object instead of a list of objects. (See for this PR: #245) A previous PR was already made some time ago but it did not adhere to the requested convention: #762 This PR tries to solve that issue. Signed-off-by: Robin de Rooij <[email protected]> * Allow Keda to request SA tokens (#728) * Allow Keda to request SA tokens Signed-off-by: Bojan Zelic <[email protected]> * Allow Keda to request SA tokens Signed-off-by: Bojan Zelic <[email protected]> * Allow Keda to request SA tokens Signed-off-by: Bojan Zelic <[email protected]> --------- Signed-off-by: Bojan Zelic <[email protected]> Signed-off-by: Robin de Rooij <[email protected]> * Move global extraEnvs object to their components Signed-off-by: Robin de Rooij <[email protected]> * http-add-on: migrate v1.Endpoints to discoveryv1.EndpointSlices (#779) Signed-off-by: Jan Wozniak <[email protected]> Signed-off-by: Robin de Rooij <[email protected]> * release http-add-on v0.11.0 (#780) Signed-off-by: Jan Wozniak <[email protected]> Signed-off-by: Robin de Rooij <[email protected]> * Add to README Signed-off-by: Robin de Rooij <[email protected]> --------- Signed-off-by: Robin de Rooij <[email protected]> Signed-off-by: Bojan Zelic <[email protected]> Signed-off-by: Jan Wozniak <[email protected]> Co-authored-by: Bojan Zelic <[email protected]> Co-authored-by: Jan Wozniak <[email protected]>
|
hey @robinderooij-rl, it seems like the PR has merge conflicts and is unable to merge as a result, can you please rebase on latest main? thank you! |
Allow setting custom environment variables for http-add-on components
Closes #761
Checklist
Fixes #