Is there a variable that let's me access the list of modules?
04/05/2023, 12:03 PM
I'm trying to create HorizontalPodAutoscaler using $forEach to generate all the manifests and keep it DRY but I don't see a way to get an array of all the module names in the template string docs. It's not the first time this would be useful and usually I work around it but this time I don't see anything that wouldn't rely on just listing the modules by hand and then having to maintain that list up to date.
04/05/2023, 4:30 PM
Unfortunately it's not in there right now, but I think it's a good idea and not too difficult. Would you mind filing a feature request on GitHub?
04/06/2023, 1:01 AM
Please let me know if you have any questions about how to fill the feature request on the GitHub side @best-flower-46100 thanks for using Garden
04/06/2023, 12:42 PM
Thanks guys, I just created a feature request. Can you point me to where in code that would be implemented? I'd be willing to take this one on if you accept such contributions and I don't get scared 😄
04/14/2023, 6:05 PM
Hey @best-flower-46100 thanks a lot for taking that initiative, we are definitely interested in growing our community by making Garden accessible and easy to contribute to; Let me reach out to our Dev Team to ask them this question, thanks a lot!