fix typos
This commit is contained in:
parent
e7739bdf6f
commit
1d0e752339
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ func handleSigterm(ngx *controller.NGINXController, exit exiter) {
|
||||||
// kubeConfig is the location of a kubeconfig file. If defined, the kubeconfig
|
// kubeConfig is the location of a kubeconfig file. If defined, the kubeconfig
|
||||||
// file is loaded first, the URL of the API server read from the file is then
|
// file is loaded first, the URL of the API server read from the file is then
|
||||||
// optionally overridden by the value of apiserverHost.
|
// optionally overridden by the value of apiserverHost.
|
||||||
// If neither apiserverHost nor kubeConfig are passed in, we assume the
|
// If neither apiserverHost nor kubeConfig is passed in, we assume the
|
||||||
// controller runs inside Kubernetes and fallback to the in-cluster config. If
|
// controller runs inside Kubernetes and fallback to the in-cluster config. If
|
||||||
// the in-cluster config is missing or fails, we fallback to the default config.
|
// the in-cluster config is missing or fails, we fallback to the default config.
|
||||||
func createApiserverClient(apiserverHost, kubeConfig string) (*kubernetes.Clientset, error) {
|
func createApiserverClient(apiserverHost, kubeConfig string) (*kubernetes.Clientset, error) {
|
||||||
|
|
Loading…
Reference in a new issue