add ready plugin to dns tests

This commit is contained in:
Sandeep Rajan 2019-09-03 10:34:27 -04:00
parent 13696f6b42
commit 95b0c3bde0

View File

@ -68,6 +68,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
@ -84,6 +85,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
@ -234,6 +236,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
@ -333,6 +336,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
@ -444,6 +448,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