Repository navigation
feat: #2402 Add envFrom support to the Helm chart - #2403
Conversation
microcks.envFrom and features.async.envFrom add every key of a Secret or ConfigMap as environment variables on the Microcks and async-minion containers. Both default to an empty list, so existing renders are unchanged. Signed-off-by: Nina Plate <[email protected]>
|
Welcome to the Microcks community! 💖 Thanks and congrats 🎉 for opening your first pull request here! Be sure to follow the pull request template or please update it accordingly. Hope you have a great time there! |
… uncommentable Adds the envFrom rows to install/kubernetes/README.md, which mirrors the chart README, fits the new rows to the table width, and comments out the envFrom keys in values.yaml so their examples are valid YAML once uncommented. Signed-off-by: Nina Plate <[email protected]>
lbroudoux
left a comment
There was a problem hiding this comment.
LGTM. Thank you for pushing this!
|
You are now a Microcks community contributor! 💖 Thanks and congrats 🚀 on merging your first pull request! We are delighted and very proud of you! 👏 📢 If you're using Microcks in your organization, please add your company name to this list. 🙏 It really helps the project to gain momentum and credibility. It's a small contribution back to the project with a big impact. If you need to know why and how to add yourself to the list, please read the blog post "Join the Microcks Adopters list and Empower the vibrant open source Community 🙌" Kudos and please keep going, we need you 🙌 |
* feat: #2402 Add envFrom support to the Helm chart microcks.envFrom and features.async.envFrom add every key of a Secret or ConfigMap as environment variables on the Microcks and async-minion containers. Both default to an empty list, so existing renders are unchanged. Signed-off-by: Nina Plate <[email protected]> * docs: #2402 Sync the install README and make envFrom examples uncommentable Adds the envFrom rows to install/kubernetes/README.md, which mirrors the chart README, fits the new rows to the table width, and comments out the envFrom keys in values.yaml so their examples are valid YAML once uncommented. Signed-off-by: Nina Plate <[email protected]> --------- Signed-off-by: Nina Plate <[email protected]> (cherry picked from commit 65f08ac)
Description
microcks.envFromandfeatures.async.envFrom, rendered asenvFromon the Microcks andasync-minioncontainers, right after theirenv.values.yamldocuments both as commented-out keys withsecretRef/configMapRefexamples, likeingressAnnotations; unset, nothing is rendered, so existing renders are unchanged.envin the chart README and in its copy,install/kubernetes/README.md.Tests:
helm lint install/kubernetes/microckspasses.values.yamlexamples, uncommented, parse and renderenvFromon both containers.helm templatewith default values (andfeatures.async.enabled=true) renders the same manifests asmaster, apart from the randomly generated credentials and certificates.microcks.envFrom: [{secretRef: {name: microcks-extra-env}}]andfeatures.async.envFrom: [{configMapRef: {name: async-extra}}], thespringcontainer of themicrocksDeployment and theasync-minioncontainer each get thatenvFrom, next to their unchangedenv.AI disclosure: this change, the tests above and this description were produced with Claude Code.
Related issue(s)
Resolves #2402