-
Notifications
You must be signed in to change notification settings - Fork 712
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 support for defining dnsPolicy and dnsConfig options for ECK operator statefulset #7999
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really sorry for the delays in getting this reviewed. I have a question about why we are making decisions on linking dnsPolicy and dnsConfig? And what if we set hostNetwork: true, and dnsPolicy: "something-else"? It explicitly sets dnsPolicy to clusterfirstWithHostNet
.
Thank you for this contribution! Since there hasn’t been recent activity, I’ll adopt this PR to complete it and get it merged. Your work will be preserved and credited. |
e26e6b7
to
795dab6
Compare
This PR adds support to the statefulset template for defining
dnsPolicy
anddnsConfig
options.Flow control is designed to both prevent conflicts with the existing hostNetwork option and to only render out these options if they are both defined together.If
hostNetwork
is enabled,dnsPolicy
defaults toClusterFirstWithHostNet
unless explicitly set.Both new options have been documented with examples in
values.yaml
.