From 591e2baabf9c97bfa07a33335a3687b9d850323a Mon Sep 17 00:00:00 2001 From: Louis Munro Date: Thu, 25 Apr 2019 11:21:54 -0400 Subject: [PATCH] Add back http2 support. --- pkg/webhook/server.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/webhook/server.go b/pkg/webhook/server.go index 19a9888391..a047541b24 100644 --- a/pkg/webhook/server.go +++ b/pkg/webhook/server.go @@ -140,6 +140,7 @@ func (s *Server) Start(stop <-chan struct{}) error { cfg := &tls.Config{ Certificates: []tls.Certificate{cert}, + NextProtos: []string{"h2"}, } listener, err := tls.Listen("tcp", net.JoinHostPort(s.Host, strconv.Itoa(int(s.Port))), cfg)