Merge pull request #13898 from hanghuge/main

[DOCS] Fix unavailable link to Kubernetes docs
pull/13905/head^2
Bryan Boreham 8 months ago committed by GitHub
commit 594b317ecc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -311,7 +311,7 @@ func New(l log.Logger, metrics discovery.DiscovererMetrics, conf *SDConfig) (*Di
} }
case conf.APIServer.URL == nil: case conf.APIServer.URL == nil:
// Use the Kubernetes provided pod service account // Use the Kubernetes provided pod service account
// as described in https://kubernetes.io/docs/admin/service-accounts-admin/ // as described in https://kubernetes.io/docs/tasks/run-application/access-api-from-pod/#using-official-client-libraries
kcfg, err = rest.InClusterConfig() kcfg, err = rest.InClusterConfig()
if err != nil { if err != nil {
return nil, err return nil, err

Loading…
Cancel
Save