-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: vars from ConfigMap #850
Comments
@yujunz Using |
Yes, it works if I refer the data one by one. But it is not a joy to create one variable for each, whereas I am expecting something line
|
I see what you mean. This feature is asking for an enhancement on |
I can work on it if no other developer has taken it, @Liujingfang1 . Is there a brief developer guide about how to extend |
It seems the build steps can be represented in pseudo code below
We may need to insert an extra step to expand |
I don't think it's necessary to extend current |
These variables are to be filled to mostly annotations and also some other fields, e.g.
As far as I know, env is limited to command and args. So it seems variable is the only way. I'm open for better solution though. @Liujingfang1 |
It seems I can do it with jsonPatch6902 as mentioned in #318 |
Is it possible to create a LIST (not one by one) of variables from ConfigMap just like
envFrom
?Suppose I need to create a bunch of variables for external resources, like security group, domain name and etc. It seems the only way to do it is save them in ConfigMap and refer in variables.
For example:
Ideally, we should be able to generate the variables with
If we have already an equivalent solution for this use case, please shed some light on it.
The text was updated successfully, but these errors were encountered: