ingress-nginx-helm/controllers/nginx/nginx
Kubernetes Submit Queue 727a62421e Merge pull request #1467 from aledbf/change-client
Automatic merge from submit-queue

[nginx-ingress-controller]: Use ClientConfig to configure connection

fixes #1459

Running with `docker run`:
```
core@localhost ~ $ docker run -it aledbf/nginx-third-party:0.31 bash
root@f6a96f46eab0:/# export KUBERNETES_MASTER=http://172.17.4.99:8080
root@f6a96f46eab0:/# /nginx-ingress-controller --default-backend-service=default/nginx-errors
I0802 14:44:58.604384       7 main.go:94] Using build: https://github.com/aledbf/contrib - git-5b9146a
W0802 14:44:58.605282       7 main.go:118] unexpected error getting runtime information: unable to get POD information (missing POD_NAME or POD_NAMESPACE environment variable)
I0802 14:44:58.607270       7 main.go:123] Validated default/nginx-errors as the default backend
W0802 14:44:58.611322       7 ssl.go:132] no file dhparam.pem found in secrets
I0802 14:44:58.615637       7 controller.go:1128] starting NGINX loadbalancer controller
I0802 14:44:58.615902       7 command.go:35] Starting NGINX process...
```

Running inside in a cluster:
```
I0802 14:47:50.254736       1 main.go:94] Using build: https://github.com/aledbf/contrib - git-5b9146a
I0802 14:47:50.254920       1 merged_client_builder.go:103] No kubeconfig could be created, falling back to service account.
I0802 14:47:50.343440       1 main.go:123] Validated default/nginx-errors as the default backend
W0802 14:47:50.343677       1 ssl.go:132] no file dhparam.pem found in secrets
I0802 14:47:50.347322       1 controller.go:1128] starting NGINX loadbalancer controller
I0802 14:47:50.347870       1 command.go:35] Starting NGINX process...
```

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/contrib/1467)
<!-- Reviewable:end -->
2016-08-17 13:40:11 -07:00
..
auth Fix lint errors 2016-06-02 17:39:12 -04:00
config Add mime aplication/x-javascript to the gzip list and show the defaults in configuration.md 2016-07-01 21:15:54 -04:00
healthcheck Refactor nginx config into own package 2016-06-05 15:29:59 +01:00
ipwhitelist Check for errors in nginx template 2016-07-28 17:41:12 -04:00
ratelimit Fix lint errors 2016-06-02 17:39:12 -04:00
rewrite ingress: adds configurable SSL redirect nginx controller 2016-06-05 15:30:09 +01:00
secureupstream Change annotation name secure-upstreams to secure-backends 2016-06-22 12:34:45 -04:00
command.go Change nginx status port to 18080 to avoid conflicts with port 8080 2016-07-20 16:39:46 -04:00
main.go Check for errors in nginx template 2016-07-28 17:41:12 -04:00
nginx.go Add example 2016-06-13 14:22:03 -04:00
ssl.go Use system self signed certificate as default SSL certificate 2016-07-22 19:30:00 -04:00
ssl_test.go Refactor nginx config into own package 2016-06-05 15:29:59 +01:00
template.go Check for errors in nginx template 2016-07-28 17:41:12 -04:00
template_test.go Fix nginx rewrite rule order 2016-06-09 17:08:29 -04:00
utils.go Use ClientConfig to configure connection 2016-08-02 10:46:35 -04:00
utils_test.go Refactor nginx config into own package 2016-06-05 15:29:59 +01:00