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

Make forwardToKubeDNS work in the NodeLocal DNSCache template #11743

Merged
merged 1 commit into from
Jun 11, 2021

Commits on Jun 11, 2021

  1. Make forwardToKubeDNS work in the NodeLocal DNSCache template

    This fixes the rendering of the Corefile of the NodeLocal DNSCache
    template when setting forwardToKubeDNS to false (or not setting it).
    
    Previously, due to not dereferencing the bool pointer, the Corefile was
    always rendered with the true clause, due to checking the address
    instead of the actual value of the variable.
    
    With this fix, the templating mechanism will actually respect the value
    of forwardToKubeDNS and render it accordingly.
    ederst committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    7f787de View commit details
    Browse the repository at this point in the history