Skip to content

NO-JIRA: add a generator for plugins and reduce dependencies#186

Open
rikatz wants to merge 2 commits into
openshift:mainfrom
rikatz:reduce-coredns-dependencies
Open

NO-JIRA: add a generator for plugins and reduce dependencies#186
rikatz wants to merge 2 commits into
openshift:mainfrom
rikatz:reduce-coredns-dependencies

Conversation

@rikatz

@rikatz rikatz commented May 29, 2026

Copy link
Copy Markdown
Member

This CoreDNS version is based on upstream, but relies just on a very small set of
dependencies and plugins.

This change adds a new generator for plugins, allowing a developer to re-generate the
plugin list and dependencies based on OCP install and reducing the amount of imported
libraries

rikatz added 2 commits May 29, 2026 10:15
This CoreDNS version is based on upstream, but relies just on a very small set of
dependencies and plugins.

This change adds a new generator for plugins, allowing a developer to re-generate the
plugin list and dependencies based on OCP install and reducing the amount of imported
libraries
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label May 29, 2026
@openshift-ci-robot

Copy link
Copy Markdown

@rikatz: This pull request explicitly references no jira issue.

Details

In response to this:

This CoreDNS version is based on upstream, but relies just on a very small set of
dependencies and plugins.

This change adds a new generator for plugins, allowing a developer to re-generate the
plugin list and dependencies based on OCP install and reducing the amount of imported
libraries

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.

@coderabbitai

coderabbitai Bot commented May 29, 2026

Copy link
Copy Markdown

Important

Review skipped

Too many files!

This PR contains 296 files, which is 146 over the limit of 150.

To get a review, narrow the scope:
• coderabbit review --type committed # exclude uncommitted changes
• coderabbit review --dir # limit to a subdirectory
• coderabbit review --base # compare against a closer base

⚙️ Run configuration

Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 20093b0a-2ed2-42d0-8260-4c1acead9117

📥 Commits

Reviewing files that changed from the base of the PR and between 3c21b06 and 3ca76ca.

⛔ Files ignored due to path filters (4)
  • go.sum is excluded by !**/*.sum
  • plugin/tls/test_ca.pem is excluded by !**/*.pem
  • plugin/tls/test_cert.pem is excluded by !**/*.pem
  • plugin/tls/test_key.pem is excluded by !**/*.pem
📒 Files selected for processing (296)
  • Makefile.ocp
  • OPENSHIFT.md
  • core/dnsserver/zdirectives.go
  • core/plugin/zplugin.go
  • go.mod
  • openshift-plugins.cfg
  • plugin.cfg
  • plugin/acl/README.md
  • plugin/acl/acl.go
  • plugin/acl/acl_test.go
  • plugin/acl/metrics.go
  • plugin/acl/setup.go
  • plugin/acl/setup_test.go
  • plugin/any/README.md
  • plugin/any/any.go
  • plugin/any/any_test.go
  • plugin/any/setup.go
  • plugin/any/setup_test.go
  • plugin/auto/README.md
  • plugin/auto/auto.go
  • plugin/auto/auto_test.go
  • plugin/auto/log_test.go
  • plugin/auto/regexp.go
  • plugin/auto/regexp_test.go
  • plugin/auto/setup.go
  • plugin/auto/setup_test.go
  • plugin/auto/walk.go
  • plugin/auto/walk_test.go
  • plugin/auto/watcher_test.go
  • plugin/auto/xfr.go
  • plugin/auto/xfr_test.go
  • plugin/auto/zone.go
  • plugin/auto/zone_test.go
  • plugin/autopath/README.md
  • plugin/autopath/autopath.go
  • plugin/autopath/autopath_test.go
  • plugin/autopath/cname.go
  • plugin/autopath/metrics.go
  • plugin/autopath/setup.go
  • plugin/autopath/setup_test.go
  • plugin/azure/README.md
  • plugin/azure/azure.go
  • plugin/azure/azure_test.go
  • plugin/azure/setup.go
  • plugin/azure/setup_test.go
  • plugin/bind/README.md
  • plugin/bind/bind.go
  • plugin/bind/log_test.go
  • plugin/bind/setup.go
  • plugin/bind/setup_test.go
  • plugin/clouddns/README.md
  • plugin/clouddns/clouddns.go
  • plugin/clouddns/clouddns_test.go
  • plugin/clouddns/gcp.go
  • plugin/clouddns/log_test.go
  • plugin/clouddns/setup.go
  • plugin/clouddns/setup_test.go
  • plugin/dns64/README.md
  • plugin/dns64/dns64.go
  • plugin/dns64/dns64_test.go
  • plugin/dns64/metrics.go
  • plugin/dns64/setup.go
  • plugin/dns64/setup_test.go
  • plugin/dnssec/README.md
  • plugin/dnssec/black_lies.go
  • plugin/dnssec/black_lies_bitmap_test.go
  • plugin/dnssec/black_lies_test.go
  • plugin/dnssec/cache.go
  • plugin/dnssec/cache_test.go
  • plugin/dnssec/dnskey.go
  • plugin/dnssec/dnssec.go
  • plugin/dnssec/dnssec_test.go
  • plugin/dnssec/handler.go
  • plugin/dnssec/handler_test.go
  • plugin/dnssec/log_test.go
  • plugin/dnssec/metrics.go
  • plugin/dnssec/responsewriter.go
  • plugin/dnssec/rrsig.go
  • plugin/dnssec/setup.go
  • plugin/dnssec/setup_test.go
  • plugin/file/README.md
  • plugin/file/apex_test.go
  • plugin/file/closest.go
  • plugin/file/closest_test.go
  • plugin/file/delegation_test.go
  • plugin/file/delete_test.go
  • plugin/file/dname.go
  • plugin/file/dname_test.go
  • plugin/file/dnssec_test.go
  • plugin/file/dnssex_test.go
  • plugin/file/ds_test.go
  • plugin/file/ent_test.go
  • plugin/file/example_org.go
  • plugin/file/file.go
  • plugin/file/file_test.go
  • plugin/file/fuzz.go
  • plugin/file/glue_test.go
  • plugin/file/include_test.go
  • plugin/file/log_test.go
  • plugin/file/lookup.go
  • plugin/file/lookup_test.go
  • plugin/file/notify.go
  • plugin/file/nsec3_test.go
  • plugin/file/reload.go
  • plugin/file/reload_test.go
  • plugin/file/rrutil/util.go
  • plugin/file/secondary.go
  • plugin/file/secondary_test.go
  • plugin/file/setup.go
  • plugin/file/setup_test.go
  • plugin/file/shutdown.go
  • plugin/file/tree/all.go
  • plugin/file/tree/auth_walk.go
  • plugin/file/tree/elem.go
  • plugin/file/tree/elem_test.go
  • plugin/file/tree/glue.go
  • plugin/file/tree/less.go
  • plugin/file/tree/less_test.go
  • plugin/file/tree/print.go
  • plugin/file/tree/print_test.go
  • plugin/file/tree/tree.go
  • plugin/file/tree/walk.go
  • plugin/file/wildcard.go
  • plugin/file/wildcard_test.go
  • plugin/file/xfr.go
  • plugin/file/xfr_test.go
  • plugin/file/zone.go
  • plugin/file/zone_test.go
  • plugin/geoip/README.md
  • plugin/geoip/city.go
  • plugin/geoip/geoip.go
  • plugin/geoip/geoip_test.go
  • plugin/geoip/setup.go
  • plugin/geoip/setup_test.go
  • plugin/geoip/testdata/GeoLite2-City.mmdb
  • plugin/geoip/testdata/GeoLite2-UnknownDbType.mmdb
  • plugin/geoip/testdata/README.md
  • plugin/grpc/README.md
  • plugin/grpc/fuzz.go
  • plugin/grpc/grpc.go
  • plugin/grpc/grpc_test.go
  • plugin/grpc/metrics.go
  • plugin/grpc/policy.go
  • plugin/grpc/policy_test.go
  • plugin/grpc/proxy.go
  • plugin/grpc/proxy_test.go
  • plugin/grpc/setup.go
  • plugin/grpc/setup_policy_test.go
  • plugin/grpc/setup_test.go
  • plugin/header/README.md
  • plugin/header/handler.go
  • plugin/header/header.go
  • plugin/header/header_test.go
  • plugin/header/setup.go
  • plugin/header/setup_test.go
  • plugin/hosts/README.md
  • plugin/hosts/hosts.go
  • plugin/hosts/hosts_test.go
  • plugin/hosts/hostsfile.go
  • plugin/hosts/hostsfile_test.go
  • plugin/hosts/log_test.go
  • plugin/hosts/metrics.go
  • plugin/hosts/setup.go
  • plugin/hosts/setup_test.go
  • plugin/k8s_external/README.md
  • plugin/k8s_external/apex.go
  • plugin/k8s_external/apex_test.go
  • plugin/k8s_external/external.go
  • plugin/k8s_external/external_test.go
  • plugin/k8s_external/msg_to_dns.go
  • plugin/k8s_external/setup.go
  • plugin/k8s_external/setup_test.go
  • plugin/k8s_external/transfer.go
  • plugin/k8s_external/transfer_test.go
  • plugin/loadbalance/README.md
  • plugin/loadbalance/handler.go
  • plugin/loadbalance/loadbalance.go
  • plugin/loadbalance/loadbalance_test.go
  • plugin/loadbalance/log_test.go
  • plugin/loadbalance/prefer.go
  • plugin/loadbalance/prefer_test.go
  • plugin/loadbalance/setup.go
  • plugin/loadbalance/setup_test.go
  • plugin/loadbalance/weighted.go
  • plugin/loadbalance/weighted_test.go
  • plugin/local/README.md
  • plugin/local/local.go
  • plugin/local/local_test.go
  • plugin/local/metrics.go
  • plugin/local/setup.go
  • plugin/minimal/README.md
  • plugin/minimal/minimal.go
  • plugin/minimal/minimal_test.go
  • plugin/minimal/setup.go
  • plugin/minimal/setup_test.go
  • plugin/multisocket/README.md
  • plugin/multisocket/multisocket.go
  • plugin/multisocket/multisocket_test.go
  • plugin/nomad/README.md
  • plugin/nomad/helpers.go
  • plugin/nomad/metrics.go
  • plugin/nomad/nomad.go
  • plugin/nomad/nomad_test.go
  • plugin/nomad/ready.go
  • plugin/nomad/setup.go
  • plugin/nomad/setup_test.go
  • plugin/nsid/README.md
  • plugin/nsid/log_test.go
  • plugin/nsid/nsid.go
  • plugin/nsid/nsid_test.go
  • plugin/nsid/setup.go
  • plugin/nsid/setup_test.go
  • plugin/pprof/README.md
  • plugin/pprof/log_test.go
  • plugin/pprof/pprof.go
  • plugin/pprof/pprof_test.go
  • plugin/pprof/setup.go
  • plugin/pprof/setup_test.go
  • plugin/quic/README.md
  • plugin/quic/setup.go
  • plugin/quic/setup_test.go
  • plugin/rewrite/README.md
  • plugin/rewrite/class.go
  • plugin/rewrite/cname_target.go
  • plugin/rewrite/cname_target_test.go
  • plugin/rewrite/edns0.go
  • plugin/rewrite/fuzz.go
  • plugin/rewrite/log_test.go
  • plugin/rewrite/name.go
  • plugin/rewrite/name_test.go
  • plugin/rewrite/rcode.go
  • plugin/rewrite/rcode_test.go
  • plugin/rewrite/reverter.go
  • plugin/rewrite/reverter_test.go
  • plugin/rewrite/rewrite.go
  • plugin/rewrite/rewrite_test.go
  • plugin/rewrite/setup.go
  • plugin/rewrite/setup_test.go
  • plugin/rewrite/ttl.go
  • plugin/rewrite/ttl_test.go
  • plugin/rewrite/type.go
  • plugin/rewrite/wire.go
  • plugin/root/README.md
  • plugin/root/log_test.go
  • plugin/root/root.go
  • plugin/root/root_test.go
  • plugin/route53/README.md
  • plugin/route53/log_test.go
  • plugin/route53/route53.go
  • plugin/route53/route53_test.go
  • plugin/route53/setup.go
  • plugin/route53/setup_test.go
  • plugin/secondary/README.md
  • plugin/secondary/log_test.go
  • plugin/secondary/secondary.go
  • plugin/secondary/setup.go
  • plugin/secondary/setup_test.go
  • plugin/sign/README.md
  • plugin/sign/dnssec.go
  • plugin/sign/file.go
  • plugin/sign/file_test.go
  • plugin/sign/keys.go
  • plugin/sign/log_test.go
  • plugin/sign/nsec.go
  • plugin/sign/nsec_test.go
  • plugin/sign/resign_test.go
  • plugin/sign/setup.go
  • plugin/sign/setup_test.go
  • plugin/sign/sign.go
  • plugin/sign/signer.go
  • plugin/sign/signer_test.go
  • plugin/sign/testdata/Kmiek.nl.+013+59725.key
  • plugin/sign/testdata/Kmiek.nl.+013+59725.private
  • plugin/sign/testdata/db.miek.nl
  • plugin/sign/testdata/db.miek.nl_ns
  • plugin/template/README.md
  • plugin/template/cname_test.go
  • plugin/template/log_test.go
  • plugin/template/metrics.go
  • plugin/template/setup.go
  • plugin/template/setup_test.go
  • plugin/template/template.go
  • plugin/template/template_test.go
  • plugin/timeouts/README.md
  • plugin/timeouts/timeouts.go
  • plugin/timeouts/timeouts_test.go
  • plugin/tls/README.md
  • plugin/tls/log_test.go
  • plugin/tls/tls.go
  • plugin/tls/tls_test.go
  • plugin/trace/README.md
  • plugin/trace/log_test.go
  • plugin/trace/logger.go
  • plugin/trace/setup.go
  • plugin/trace/setup_test.go
  • plugin/trace/trace.go

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@openshift-ci openshift-ci Bot requested review from davidesalerno and gcs278 May 29, 2026 13:19
@openshift-ci

openshift-ci Bot commented May 29, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign candita for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci

openshift-ci Bot commented May 29, 2026

Copy link
Copy Markdown

@rikatz: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/unit 3ca76ca link true /test unit
ci/prow/e2e-aws-ovn 3ca76ca link true /test e2e-aws-ovn

Full PR test history. Your PR dashboard.

Details

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-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants