Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to configure dnsPolicy #59

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

judahrand
Copy link

@judahrand judahrand commented Sep 17, 2024

According to Kubernetes' documentation the dnsPolicy should be set to ClusterFirstWithHostNet when hostNetwork: true is set. This PR adds the option to configure dnsPolicy for both node and controller parts of the Helm chart.

This solves an issue I was facing where a host was resolved by the controller (and so the NFS mount was configured) but was not resolved when the volume was mounted.

This is what csi-driver-nfs does: https://github.com/kubernetes-csi/csi-driver-nfs/blob/096163569b792c4eb38fcf652e8ef2c3a8a5060b/charts/v4.9.0/csi-driver-nfs/values.yaml#L102

@travisghansen
Copy link
Member

Hi! Thanks for the contribution. Just bump the version of the chart and we can merge. A patch version bump should be fine for this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants