feat(otellogs): add hostNetwork and dnsPolicy configuration
Allows for configurable hostNetwork and dnsPolicy. Related with https://github.com/SumoLogic/sumologic-kubernetes-collection/pull/3940
Checklist
- [x] Changelog updated or skip changelog label added
- [x] Template tests added for new features
@azamorano thank you for your contribution! Recommend that we also add an Integration test for this change to validate that the pods in the logs daemonset startup without issues. This should also test whether a pod would need associated clusterRole changes to run on this mode and that the logs are being received by sumologic.
@echlebek sorry for the late response. I did not have much time to take a look to this. I'm failing to understand what I might have broken with my change in the current integration tests. I'm trying to run it locally and it works for me. Please find attached the snippet with the output of my test. test.log Could it be something transient?
Hi @echlebek did you have a chance to take a look to my comment above?