Replies: 10 comments
-
|
#7474 might be related development wise. Global variables, if implemented, should work in conjunction with "local" variables at the stack level and one should not override the other. |
Beta Was this translation helpful? Give feedback.
-
|
This issue has been marked as stale as it has not had recent activity, it will be closed if no further activity occurs in the next 7 days. If you believe that it has been incorrectly labelled as stale, leave a comment and the label will be removed. |
Beta Was this translation helpful? Give feedback.
-
|
Would still like this feature. |
Beta Was this translation helpful? Give feedback.
-
|
I would like this feature as well. |
Beta Was this translation helpful? Give feedback.
-
|
Any up date on this? This feature request can help in so many scenario's to ease configuration of multiple stacks etc |
Beta Was this translation helpful? Give feedback.
-
|
I'd like this feature also |
Beta Was this translation helpful? Give feedback.
-
|
This feature would be so awesome, so all my nodes containing (mostly) backup nodes like the thread owner also do. If i need to rollout a new key it would be faster and efficient to just manage them in one single place and keep the good stack-management. |
Beta Was this translation helpful? Give feedback.
-
|
It makes no sense that this isn't a feature after so many years. |
Beta Was this translation helpful? Give feedback.
-
|
I was just about to open a new feature request for this but it seems that it's already here My proposal was to set env vars at the Environment level that could be overridden at the Stack level. In the configuration of an environment, I would like a section to define environment variables that apply to all stacks and containers within that environment This could include These environment-wide environment variables would be the lowest priority and any defined within the stack / on the command line would override them Benefits:
|
Beta Was this translation helpful? Give feedback.
-
|
is there any particular reason why this should not be a feature, or did just nobody take on the task to do it yet? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
When I need to use the same environment variable in several stacks it's annoying to have to re-define and populate that variable in each stack individually. It's additionally frustrating when that variable needs to be changed and I have to go into each separate stack to change it. I'm human and I can miss some or make mistakes. :)
Describe the solution you'd like
It would be helpful to have a global area to define / load environment variables into and then maybe a toggle or other mechanism to specify whether a stack should load those global environment variables.
Describe alternatives you've considered
Not sure :/
Additional context
One example of common variables I need in several stacks is credentials for a remote mail server for sending notifications. Another is backup configuration values for a docker-volume-backup sidecar container I have in almost all my stacks (10+). Much of that configuration is the same across all instances of that sidecar container and I have to go into each of the 10+ stacks and configure the same thing and then do it all again if I have to add a new env value or modify one. Quite painstaking.
Beta Was this translation helpful? Give feedback.
All reactions