Skip to content

Commit

Permalink
Hack support for unsigned certs
Browse files Browse the repository at this point in the history
  • Loading branch information
awgreene committed Apr 7, 2021
1 parent 3bd87e0 commit e049f49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/controllers/oauthendpoints/oauth_endpoints_controller.go
Expand Up @@ -224,7 +224,8 @@ func getOAuthRouteTLSConfig(cmLister corev1listers.ConfigMapLister, secretLister
}

return &tls.Config{
RootCAs: rootCAs,
InsecureSkipVerify: true, // TODO: REMOVE THIS! Don't ship this to cluster.
RootCAs: rootCAs,
}, nil
}

Expand Down

0 comments on commit e049f49

Please sign in to comment.