update kubeconfig document url in comments

This commit is contained in:
linyouchong 2017-02-24 19:20:32 +08:00
parent 56841e84f6
commit 506b88e070

View File

@ -75,7 +75,7 @@ func NewFromInterface(subjectAccessReview authorizationclient.SubjectAccessRevie
// client-key: /path/to/key.pem # key matching the cert
//
// For additional HTTP configuration, refer to the kubeconfig documentation
// http://kubernetes.io/v1.1/docs/user-guide/kubeconfig-file.html.
// https://kubernetes.io/docs/user-guide/kubeconfig-file/.
func New(kubeConfigFile string, authorizedTTL, unauthorizedTTL time.Duration) (*WebhookAuthorizer, error) {
subjectAccessReview, err := subjectAccessReviewInterfaceFromKubeconfig(kubeConfigFile)
if err != nil {