Skip to content

Commit

Permalink
UPSTREAM: <carry>: openshift: Move ocp_dnsnameresolver before cache i…
Browse files Browse the repository at this point in the history
…n plugin chaining order
  • Loading branch information
arkadeepsen committed May 7, 2024
1 parent f937ebf commit 6b897ee
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/dnsserver/zdirectives.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ var Directives = []string{
"chaos",
"loadbalance",
"tsig",
"cache",
"ocp_dnsnameresolver",
"cache",
"rewrite",
"header",
"dnssec",
Expand Down
1 change: 1 addition & 0 deletions core/plugin/zplugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ import (
_ "github.com/coredns/coredns/plugin/tsig"
_ "github.com/coredns/coredns/plugin/view"
_ "github.com/coredns/coredns/plugin/whoami"


_ "github.com/openshift/coredns-ocp-dnsnameresolver"
)
2 changes: 1 addition & 1 deletion plugin.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ any:any
chaos:chaos
loadbalance:loadbalance
tsig:tsig
cache:cache
ocp_dnsnameresolver:github.com/openshift/coredns-ocp-dnsnameresolver
cache:cache
rewrite:rewrite
header:header
dnssec:dnssec
Expand Down

0 comments on commit 6b897ee

Please sign in to comment.