Downward API Injection: Multiple containers in pod don't work
Billy99 opened this issue · comments
Billy McFall commented
If there multiple containers in a pod that need Downward API fields injected, it doesn't work. There is logic in code that only looks at pod.Spec.Containers[0]
.
Periyasamy Palanisamy commented
@Billy99 Can I work on a PR for injecting podnetinfo into multiple containers ? Please let me know.
Billy McFall commented
@pperiyasamy Yes, I have not started and won't have time in the near term. While you are looking at logic to walk through the list of containers, may be easy to add logic to address #43 as well (but your call).
Periyasamy Palanisamy commented
Billy McFall commented
@pperiyasamy Yes, tested and looks good.