CORS-3849,OCPBUGS-76279: Enable hosts plugin within the CoreDNS Corefile for cloud platforms#5569
CORS-3849,OCPBUGS-76279: Enable hosts plugin within the CoreDNS Corefile for cloud platforms#5569sadasu wants to merge 1 commit intoopenshift:mainfrom
Conversation
|
@sadasu: This pull request references CORS-3849 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.22.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/lgtm |
|
/test e2e-gcp-op-ocl |
484ae32 to
3b9e9db
Compare
|
New changes are detected. LGTM label has been removed. |
shaheen0b111
left a comment
There was a problem hiding this comment.
Small syntax change requested as per the hosts plugin doc
| match ^api-int.{{ .ControllerConfig.DNS.Spec.BaseDomain }} | ||
| fallthrough | ||
| } | ||
| { |
There was a problem hiding this comment.
I think as per the document for hosts plugin , the syntax should be as below
hosts {
fallthrough
}
| {{- end }}`}} | ||
| fallthrough | ||
| } | ||
| { |
There was a problem hiding this comment.
@sadasu , Here also same syntax change as mentioned in another template.
Update the CoreDNS Corefile for cloud platforms to enable the hosts plugin. the hosts plugin was enabled within the cluster's Corefile specifically for Node addresses. This change enables all enrties within the /etc/hosts file to be loadede and served via the DNS service provided by the cluster's coreDNS instance.
3b9e9db to
e839553
Compare
|
@sadasu: This pull request references CORS-3849 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.22.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/retitle CORS-3849,OCPBUGS-76279: Enable hosts plugin within the CoreDNS Corefile for cloud platforms |
|
@sadasu: This pull request references CORS-3849 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.22.0" version, but no target version was set. This pull request references Jira Issue OCPBUGS-76279, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@sadasu: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: sadasu, shaheen0b111, zaneb The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Update the CoreDNS Corefile for cloud platforms to enable the hosts plugin. the hosts plugin was enabled within the cluster's Corefile specifically for Node addresses. This change enables all enrties within the /etc/hosts file to be loaded and served via the DNS service provided by the cluster's coreDNS instance. Used CoreDNS documentation [0] for reference.
Please note that the hosts plugin was already enabled in the CoreFile for the cluster CoreDNS instance (as opposed to the bootstrap CoreDNS instance). Only some entries were loaded. After this change, all entries from the /etc/hosts file would be loaded and served by CoreDNS.
This feature was requested by ARO but we feel that the hosts plugin should be enabled on all cloud platforms (GCP, AWS and Azure) at all times and not just when run within ARO.
[0] - https://coredns.io/plugins/hosts/#examples