Update to k8s 1.18

(cherry picked from commit 420f62f642)
This commit is contained in:
Darren Shepherd
2020-03-26 13:58:39 -07:00
committed by Arvind Iyengar
parent 682e866977
commit c5087d55cf
6 changed files with 34 additions and 32 deletions

View File

@@ -70,7 +70,7 @@ func WebhookConfigForURL(url string) (string, error) {
}
func NewWebhookAuthenticator(cacheTTL time.Duration, kubeConfigFile string) (Authenticator, error) {
wh, err := webhook.New(kubeConfigFile, "v1", nil)
wh, err := webhook.New(kubeConfigFile, "v1", nil, nil)
if err != nil {
return nil, err
}