File tree Expand file tree Collapse file tree 2 files changed +17
-3
lines changed
cmd/kubeadm/app/phases/addons/dns Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -184,7 +184,10 @@ func TestCreateCoreDNSAddon(t *testing.T) {
184
184
forward . /etc/resolv.conf {
185
185
max_concurrent 1000
186
186
}
187
- cache 30
187
+ cache 30 {
188
+ disable success cluster.local
189
+ disable denial cluster.local
190
+ }
188
191
loop
189
192
reload
190
193
loadbalance
@@ -228,7 +231,10 @@ func TestCreateCoreDNSAddon(t *testing.T) {
228
231
forward . /etc/resolv.conf {
229
232
max_concurrent 1000
230
233
}
231
- cache 30
234
+ cache 30 {
235
+ disable success cluster.local
236
+ disable denial cluster.local
237
+ }
232
238
loop
233
239
reload
234
240
loadbalance
@@ -314,7 +320,10 @@ func TestCreateCoreDNSAddon(t *testing.T) {
314
320
forward . /etc/resolv.conf {
315
321
max_concurrent 1000
316
322
}
317
- cache 30
323
+ cache 30 {
324
+ disable success cluster.local
325
+ disable denial cluster.local
326
+ }
318
327
loop
319
328
reload
320
329
loadbalance
Original file line number Diff line number Diff line change @@ -178,6 +178,11 @@ data:
178
178
max_concurrent 1000
179
179
}
180
180
cache 30
181
+ {{- if .DNSDomain }} {
182
+ disable success {{ .DNSDomain }}
183
+ disable denial {{ .DNSDomain }}
184
+ }
185
+ {{- end }}
181
186
loop
182
187
reload
183
188
loadbalance
You can’t perform that action at this time.
0 commit comments