We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 632feeb commit 2dc665dCopy full SHA for 2dc665d
cmd/security-profiles-operator/main.go
@@ -661,6 +661,10 @@ func runDaemon(ctx *cli.Context, info *version.Info) error {
661
return fmt.Errorf("start metrics grpc server: %w", err)
662
}
663
664
+ disableHTTP2 := func(c *tls.Config) {
665
+ c.NextProtos = []string{"http/1.1"}
666
+ }
667
+
668
ctrlOpts := ctrl.Options{
669
Cache: cache.Options{SyncPeriod: &sync},
670
HealthProbeBindAddress: fmt.Sprintf(":%d", config.HealthProbePort),
@@ -673,6 +677,7 @@ func runDaemon(ctx *cli.Context, info *version.Info) error {
673
677
ExtraHandlers: map[string]http.Handler{
674
678
metrics.HandlerPath: met.Handler(),
675
679
},
680
+ TLSOpts: []func(*tls.Config){disableHTTP2},
676
681
682
683
0 commit comments