Commit graph

2737 commits

Author SHA1 Message Date
Manuel Alejandro de Brito Fontes
f204b2d5b0 Release nginx ingress controller 0.12.0 (#2206) 2018-03-19 08:57:16 -03:00
chenpengdev
1d69a4683a fix go test TestSkipEnqueue error, move queue.Run (#2209) 2018-03-19 08:46:54 -03:00
Alvaro Aleman
cf06bce202 Add configoption to exclude routes from tls upgrading (#2203)
* Add configoption to exclude routes from tls upgrading

* Add tests for IsLocationInLocationList

* Seperate elements in NoTLSRedirectLocations by comma

* Set NoTLSRedirectLocations to "/.well-known/acme-challenge/" by default

* Remove trailing slash from "/.well-known/acme-challenge" default
2018-03-18 17:44:59 -03:00
halfcrazy
75e7807824 add luacheck to lint lua files (#2205) 2018-03-18 13:31:49 -03:00
Oilbeater
c2aed41dc0 Allow config to disable geoip (#2202)
For a offline or private cloud environment, geoip is not needed.
Implementing https://github.com/kubernetes/ingress-nginx/issues/2179
2018-03-18 13:30:05 -03:00
Elvin Efendi
ceb6933eb0 Live Nginx (re)configuration without reloading (#2174) 2018-03-18 10:13:41 -03:00
Oilbeater
5d6b9951c3 Add worker-cpu-affinity nginx option (#2201)
worker_cpu_affinity is a common optimization method for improving nginx performance, adding this as a custom configuration. Also fix some format issues found during editing.
2018-03-16 13:32:45 -03:00
Haoyun
fd57fa96ed fix grammer mistake (#2200)
fix grammer mistake
```release-note
None
```
2018-03-16 09:54:17 -03:00
Oilbeater
948a3f78c1 fix wrong json tag (#2193)
json tags are case sensitive when encode, change omitEmpty to omitempty
2018-03-12 03:36:35 -07:00
Elvin Efendi
1f9e2250e4 configuring load balancing per ingress (#2167)
* configure load balancing through a ingress annotation

* update docs
2018-03-09 13:09:41 -08:00
Antoine Cotten
68c8a18379 Add checker test for bad pid (#2191) 2018-03-09 09:21:02 -08:00
Elvin Efendi
27df863b44 include lua-resty-lock in nginx image (#2172) 2018-03-08 14:00:19 -08:00
Oilbeater
caca528eaa change nginx process pgid (#2181)
put restarted nginx process in another process group, just like the normal nginx start did in https://github.com/kubernetes/ingress-nginx/blob/master/internal/ingress/controller/nginx.go#L289
2018-03-08 06:58:54 -08:00
Antoine Cotten
13ce41fd6e Remove ProxyPassParams setting (#2185)
This reverts commit fab5d7e27f
2018-03-07 16:40:22 -08:00
Antoine Cotten
7eafdffad8 Include tests in golint checks, fix warnings (#2180) 2018-03-07 08:37:30 -08:00
maxlaverse
6ac1d057dc Add documentation about secure-verify-ca-secret (#2169) 2018-03-05 11:01:50 -08:00
Elvin Efendi
497832bcb7 include lua-upstream-nginx-module in Nginx build (#2163) 2018-03-03 13:38:02 -03:00
Elvin Efendi
8b8015e66e use the correct error channel (#2164) 2018-03-03 09:23:06 -03:00
AdamDang
95b8e1433b Typo fix "api server " -> "API server" (#2165) 2018-03-03 09:02:28 -03:00
Manuel Alejandro de Brito Fontes
402117bc0d Update nginx with new modules (#2155) 2018-03-02 23:02:17 -03:00
Antoine Cotten
51ae4731b4 Remove duplicated BuildConfigFromFlags func (#2162)
Use BuildConfigFromFlags from k8s.io/client-go/tools/clientcmd instead
of local copy.
2018-03-01 10:27:53 -03:00
rvkubiak
4b176c442e Add GCB config to build defaultbackend (#2125)
Uses Google Container Builder to build and push the defaultbackend
image.  This will be used for automated builds of Kubernetes addon
images.
2018-02-28 18:18:12 -03:00
Qiu Jian
6feb738d5a Add publish-status-address flag (#2148)
* Add publish-status-address flag

If this flag is set, status of ingress resources will be updated
with this address.

* Address aledbf's comment
2018-02-27 00:02:19 -03:00
Manuel Alejandro de Brito Fontes
e754b43dda In case of TLS errors do not allow traffic (#2146) 2018-02-25 17:20:14 -03:00
Manuel Alejandro de Brito Fontes
cdc05069b2 Add option in the configuration configmap to enable remote logging (syslog) (#2145) 2018-02-25 12:47:14 -03:00
Manuel Alejandro de Brito Fontes
80dccf56d4 Add annotation to disable logs in a location (#2144) 2018-02-25 11:38:54 -03:00
Manuel Alejandro de Brito Fontes
8f063b7967 Only add HSTS headers in HTTPS (#2143) 2018-02-25 11:18:42 -03:00
Manuel Alejandro de Brito Fontes
693fa34fa3 Fix error loading modules (#2141) 2018-02-24 18:09:23 -03:00
Manuel Alejandro de Brito Fontes
0231ef259c Cors header should always be returned (#2140) 2018-02-24 17:52:23 -03:00
Eli James (Cedric Chin)
7e4960aa3f Update RBAC documentation for endpoints (#2139)
For the Role named `nginx-ingress-role`, `endpoints` no longer needs or has `create` and `update` permissions.  This confused me, so I hope this helps!
2018-02-24 10:31:22 -03:00
Guang Ya Liu
d18833e611 Updated log level to v2 for sysctlFSFileMax. (#2137)
This is very importatnt log for trouble-shooting, we should update
it to v2 by default.
2018-02-23 13:11:54 -03:00
Thanatat Tamtan
bbd2424e76 fix limit-req-status-code doc (#2133) 2018-02-22 11:39:16 -08:00
nrmitchi
262c26f58c Update configmap.md (#2124) 2018-02-21 11:09:32 -08:00
Manuel Alejandro de Brito Fontes
d683c59e20 Release nginx ingress controller 0.11.0 (#2122) 2018-02-21 06:16:52 -08:00
Antoine Cotten
7a9bc0e1c1 Revert deletion of dependency version override (#2127)
This partially reverts commit de35747725.
2018-02-21 06:12:54 -08:00
Manuel Alejandro de Brito Fontes
72eee9d3cc Remove deprecated flag disable-node-list (#2119) 2018-02-20 11:56:25 -08:00
Manuel Alejandro de Brito Fontes
47c1516a21 Migrate to codecov.io (#2120)
* Migrate to codecov.io

* Fix data race

* Update nginx to 1.13.9
2018-02-20 08:27:02 -08:00
Manuel Alejandro de Brito Fontes
d81fb38aca Fix coveralls report (#2118) 2018-02-20 04:35:41 -08:00
Manuel Alejandro de Brito Fontes
559272813f Retry initial connection to the Kubernetes cluster (#2089) 2018-02-17 12:25:04 -08:00
Karl Stoney
6d468d8e50 Enabled the dynamic reload of GeoIP data (#2107)
* Moved geoip data into its own folder so it can be volume mounted

* Added FS watches for the geoip data

* Fixed single quotes issue (interpolation)

* Fixed gofmt errors

* Updated to directory crawl
2018-02-17 12:24:50 -08:00
Manuel Alejandro de Brito Fontes
606719a180 Fix e2e tests updating nginx image (#2112) 2018-02-17 12:23:00 -08:00
Victor Trac
a072e656b6 replace '‑' with actual dashes '-' (#2111) 2018-02-16 15:02:41 -08:00
Mathieu Parent
d6a96243e9 Fix proxy_redirect description (#2102) 2018-02-16 09:59:12 -08:00
Bea
832882c4f7 Updates and extends client cert documentation (#2105)
Updates and extends the documentation about enabling client certificate authentication.
2018-02-16 07:17:29 -08:00
Karl Stoney
31042c234e Added GeoIP Organisational data (#2099) 2018-02-15 14:10:20 -08:00
Manuel Alejandro de Brito Fontes
a965a5d92c Only pods in running phase are vallid for status (#2093) 2018-02-14 21:19:27 -08:00
Nick Sardo
f1bf755ecf Merge pull request #2091 from nicksardo/https-port-echo
Add HTTPS port to echoheaders
2018-02-14 14:12:06 -08:00
rvkubiak
a23212834c Update Makefile to allow specifying tag from command line (#2092)
The usage text in the Makefile suggests that you can specify TAG=1.4 to your make command to build with the specified tag.  This does not work, since TAG is hard coded in the Makefile and overwrites any value you pass on the command line.

$ GOPATH=/go TAG=notagforyou make container
docker build --pull -t gcr.io/google_containers/defaultbackend-amd64:1.4 .
Sending build context to Docker daemon  5.921MB
Step 1/4 : FROM scratch
 ---> 
Step 2/4 : USER 65534:65534
 ---> Using cache
 ---> 0f38024aa24e
Step 3/4 : COPY server /
 ---> f8509ce4595d
Step 4/4 : ENTRYPOINT /server
 ---> Running in 29b31420e648
 ---> 65818e326440
Removing intermediate container 29b31420e648
Successfully built 65818e326440
Successfully tagged gcr.io/google_containers/defaultbackend-amd64:1.4

Update the TAG variable to work as documented.
2018-02-14 14:10:42 -08:00
Nick Sardo
61d2a92717 Add HTTPS port to echoheaders 2018-02-14 14:07:45 -08:00
Arno Uhlig
23b1044683 Ingress custom backend (#2086)
* fix out of range

* add metrics and health endpoint

* ensure extension dot prefix
2018-02-14 09:16:44 -08:00