Skip to content

Commit e46b82b

Browse files
authored
Merge pull request #1269 from jcmoraisjr/jm-endpointslice-default
move to endpointslice by default
2 parents 9ad8554 + 50e8004 commit e46b82b

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

pkg/controller/config/options.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ func NewOptions() *Options {
3737
ElectionID: "class-%s.haproxy-ingress.github.io",
3838
ShutdownTimeout: 25 * time.Second,
3939
UpdateStatusOnShutdown: true,
40+
EnableEndpointSlicesAPI: true,
4041
LogLevel: 2,
4142
}
4243
}

tests/framework/framework.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@ func (f *framework) StartController(ctx context.Context, t *testing.T) {
200200
opt := ctrlconfig.NewOptions()
201201
opt.MasterWorker = true
202202
opt.LocalFSPrefix = "/tmp/haproxy-ingress"
203-
opt.EnableEndpointSlicesAPI = true
204203
opt.PublishService = PublishSvcName
205204
opt.ConfigMap = "default/ingress-controller"
206205
os.Setenv("POD_NAMESPACE", "default")

0 commit comments

Comments
 (0)