Skip to content

Commit

Permalink
Pass nil as time duration to the RequestCertificate function
Browse files Browse the repository at this point in the history
  • Loading branch information
Sudeep Modi committed Aug 18, 2021
1 parent 20aab14 commit eadfe86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/gke-exec-auth-plugin/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func processCSR(client clientset.Interface, privateKeyData []byte, hostname stri
apicertificates.UsageClientAuth,
}
name := digestedName(privateKeyData, subject, usages)
reqName, reqUID, err := csr.RequestCertificate(client, csrData, name, apicertificates.KubeAPIServerClientKubeletSignerName, usages, privateKey)
reqName, reqUID, err := csr.RequestCertificate(client, csrData, name, apicertificates.KubeAPIServerClientKubeletSignerName, nil, usages, privateKey)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit eadfe86

Please sign in to comment.