Fix default value of Healthcheck for ExternalName services
This commit is contained in:
parent
7fc56454ea
commit
b452f37e08
10 changed files with 628 additions and 211 deletions
|
@ -2469,8 +2469,10 @@ func TestLoadIngressRoutes(t *testing.T) {
|
|||
FlushInterval: ptypes.Duration(100 * time.Millisecond),
|
||||
},
|
||||
HealthCheck: &dynamic.ServerHealthCheck{
|
||||
Path: "/health",
|
||||
Interval: 15000000000,
|
||||
Path: "/health",
|
||||
Timeout: 5000000000,
|
||||
Interval: 15000000000,
|
||||
FollowRedirects: Bool(true),
|
||||
},
|
||||
},
|
||||
},
|
||||
|
@ -2531,8 +2533,10 @@ func TestLoadIngressRoutes(t *testing.T) {
|
|||
FlushInterval: ptypes.Duration(100 * time.Millisecond),
|
||||
},
|
||||
HealthCheck: &dynamic.ServerHealthCheck{
|
||||
Path: "/health1",
|
||||
Interval: 15000000000,
|
||||
Path: "/health1",
|
||||
Timeout: 5000000000,
|
||||
Interval: 15000000000,
|
||||
FollowRedirects: Bool(true),
|
||||
},
|
||||
},
|
||||
},
|
||||
|
@ -2548,8 +2552,10 @@ func TestLoadIngressRoutes(t *testing.T) {
|
|||
FlushInterval: ptypes.Duration(100 * time.Millisecond),
|
||||
},
|
||||
HealthCheck: &dynamic.ServerHealthCheck{
|
||||
Path: "/health2",
|
||||
Interval: 20000000000,
|
||||
Path: "/health2",
|
||||
Timeout: 5000000000,
|
||||
Interval: 20000000000,
|
||||
FollowRedirects: Bool(true),
|
||||
},
|
||||
},
|
||||
},
|
||||
|
@ -2589,8 +2595,10 @@ func TestLoadIngressRoutes(t *testing.T) {
|
|||
FlushInterval: ptypes.Duration(100 * time.Millisecond),
|
||||
},
|
||||
HealthCheck: &dynamic.ServerHealthCheck{
|
||||
Path: "/health1",
|
||||
Interval: 15000000000,
|
||||
Path: "/health1",
|
||||
Timeout: 5000000000,
|
||||
Interval: 15000000000,
|
||||
FollowRedirects: Bool(true),
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue