Please can the dnspolicy configuration parameter be added to the tailscale-relay.
Justification
The existing configuration enables setting the hostNetwork but cannot configure the dnspolicy. Per documentation the dnspolicy must be explicitly set. At present, in my use case at least, pod fails to start with hostnetwork set, without configuring dnspolicy manually.
For Pods running with hostNetwork, you should explicitly set its DNS policy "ClusterFirstWithHostNet".
Amend statefulset.yaml to include dnspolicy alongside the hostnetwork configuration. Possibly also valuable to default the dnspolicy to ClusterFirstWithHostNet when hostnetwork is true.
I am happy to create a Pull request, but looking to confirm your agreement before proceeding. And I appreciate the work in the repository to date.
Summary
Please can the dnspolicy configuration parameter be added to the tailscale-relay.
Justification
The existing configuration enables setting the hostNetwork but cannot configure the dnspolicy. Per documentation the dnspolicy must be explicitly set. At present, in my use case at least, pod fails to start with hostnetwork set, without configuring dnspolicy manually.
Solution
Amend statefulset.yaml to include dnspolicy alongside the hostnetwork configuration. Possibly also valuable to default the dnspolicy to ClusterFirstWithHostNet when hostnetwork is true.
I am happy to create a Pull request, but looking to confirm your agreement before proceeding. And I appreciate the work in the repository to date.