Merge pull request #78305 from rajansandeep/addreadyplugintotests

Add ready plugin in CoreDNS corefile for DNS tests
This commit is contained in:
Kubernetes Prow Robot 2019-05-31 23:22:20 -07:00 committed by GitHub
commit 753a422b13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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