mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #78305 from rajansandeep/addreadyplugintotests
Add ready plugin in CoreDNS corefile for DNS tests
This commit is contained in:
commit
753a422b13
@ -67,6 +67,7 @@ func (t *dnsFederationsConfigMapTest) run() {
|
||||
valid1 := map[string]string{
|
||||
"Corefile": fmt.Sprintf(`.:53 {
|
||||
health
|
||||
ready
|
||||
kubernetes %v in-addr.arpa ip6.arpa {
|
||||
pods insecure
|
||||
upstream
|
||||
@ -83,6 +84,7 @@ func (t *dnsFederationsConfigMapTest) run() {
|
||||
valid2 := map[string]string{
|
||||
"Corefile": fmt.Sprintf(`:53 {
|
||||
health
|
||||
ready
|
||||
kubernetes %v in-addr.arpa ip6.arpa {
|
||||
pods insecure
|
||||
upstream
|
||||
@ -233,6 +235,7 @@ func (t *dnsNameserverTest) run(isIPv6 bool) {
|
||||
t.setConfigMap(&v1.ConfigMap{Data: map[string]string{
|
||||
"Corefile": fmt.Sprintf(`.:53 {
|
||||
health
|
||||
ready
|
||||
kubernetes %v in-addr.arpa ip6.arpa {
|
||||
pods insecure
|
||||
upstream
|
||||
@ -332,6 +335,7 @@ func (t *dnsPtrFwdTest) run(isIPv6 bool) {
|
||||
t.setConfigMap(&v1.ConfigMap{Data: map[string]string{
|
||||
"Corefile": fmt.Sprintf(`.:53 {
|
||||
health
|
||||
ready
|
||||
kubernetes %v in-addr.arpa ip6.arpa {
|
||||
pods insecure
|
||||
upstream
|
||||
@ -443,6 +447,7 @@ func (t *dnsExternalNameTest) run(isIPv6 bool) {
|
||||
t.setConfigMap(&v1.ConfigMap{Data: map[string]string{
|
||||
"Corefile": fmt.Sprintf(`.:53 {
|
||||
health
|
||||
ready
|
||||
kubernetes %v in-addr.arpa ip6.arpa {
|
||||
pods insecure
|
||||
upstream
|
||||
|
Loading…
Reference in New Issue
Block a user