mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 09:22:44 +00:00
Merge pull request #42032 from linyouchong/linyouchong-20170224
Automatic merge from submit-queue update kubeconfig document url in comments **What this PR does / why we need it**: update kubeconfig document url in comments **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: NONE **Special notes for your reviewer**: NONE **Release note**: NONE
This commit is contained in:
commit
dbf152acac
@ -75,7 +75,7 @@ func NewFromInterface(subjectAccessReview authorizationclient.SubjectAccessRevie
|
|||||||
// client-key: /path/to/key.pem # key matching the cert
|
// client-key: /path/to/key.pem # key matching the cert
|
||||||
//
|
//
|
||||||
// For additional HTTP configuration, refer to the kubeconfig documentation
|
// 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) {
|
func New(kubeConfigFile string, authorizedTTL, unauthorizedTTL time.Duration) (*WebhookAuthorizer, error) {
|
||||||
subjectAccessReview, err := subjectAccessReviewInterfaceFromKubeconfig(kubeConfigFile)
|
subjectAccessReview, err := subjectAccessReviewInterfaceFromKubeconfig(kubeConfigFile)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user