OCPBUGS-6829: Add support for protocolStrategy API field to enable force_tcp configuration#359
Conversation
|
@gcs278: This pull request references Jira Issue OCPBUGS-6829, which is invalid:
Comment 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 kubernetes/test-infra repository. |
|
/jira refresh |
|
@gcs278: This pull request references Jira Issue OCPBUGS-6829, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
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 kubernetes/test-infra repository. |
|
@gcs278: This pull request references Jira Issue OCPBUGS-6829, which is valid. 3 validation(s) were run on this bug
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 kubernetes/test-infra repository. |
|
@gcs278: This pull request references Jira Issue OCPBUGS-6829, which is valid. 3 validation(s) were run on this bug
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 kubernetes/test-infra repository. |
|
/hold |
|
/assign @alebedev87 |
| ForwardPlugin: operatorv1.ForwardPlugin{ | ||
| Upstreams: []string{"1.1.1.1", "2.2.2.2:5353"}, | ||
| Policy: operatorv1.RoundRobinForwardingPolicy, | ||
| ProtocolPolicy: operatorv1.ProtocolPolicyNone, |
There was a problem hiding this comment.
I'm wondering whether None wouldn't be the default value in which case it would be tested by the existing forwardplugin and upstreamresolvers test cases.
There was a problem hiding this comment.
Update: I think that makes some sense. Sort of double check on the defaulting or omitempty option. This way we have all the three possibilities covered: nothing is specified by the user, none and forcetcp. Don't mind my previous comment.
There was a problem hiding this comment.
With recent updates to this API, which have just merged, we now have "" and TCP. omitempty was removed due to new API conventions (or previously un-followed conventions).
https://github.com/openshift/api/blob/333bc194ef7a13338a4343c25f81ff856ab0d0fd/operator/v1/types_dns.go#L425
dbe5cc4 to
2d80926
Compare
|
/test e2e-aws-ovn-upgrade |
|
Pre verify the changes with cluster bot and steps are below: |
|
@gcs278: An error was encountered querying GitHub for users with public email (mjoseph@redhat.com) for bug OCPBUGS-6829 on the Jira server at https://issues.redhat.com/. No known errors were detected, please see the full error message for details. Full error message.
Post "http://ghproxy/graphql": dial tcp 172.30.229.2:80: i/o timeout
Please contact an administrator to resolve this issue, then request a bug refresh with 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 kubernetes/test-infra repository. |
|
We need to bump k8s to 0.27, but we are currently broke on #368 (comment). Using #368 to bump k8s. |
|
/retest-required |
…rce_tcp configuration `go.mod`: Vendor API support for protocolStrategy `pkg/operator/controller/controller_dns_configmap.go`: Logic to add force_tcp in corefile if protocolStrategy is TCP `pkg/operator/controller/controller_dns_configmap_test.go`: Unit tests `pkg/operator/controller/testdata/*`: New corefiles for unit testing
|
/unhold |
|
@gcs278: all tests passed! 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/test-infra repository. I understand the commands that are listed here. |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Miciah The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/unhold |
|
@gcs278: Jira Issue OCPBUGS-6829: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-6829 has been moved to the MODIFIED state. 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 kubernetes/test-infra repository. |
Support for
protocolStrategyAPI field to CoreDNS Corefile that allowsforce_tcpto be enabled on any upstream server configuration.API: openshift/api#1429
Adds support for the following fields:
spec.upstreamResolvers.protocolStrategyspec.servers[].forwardPlugin.protocolStrategy