Commit graph

3224 commits

Author SHA1 Message Date
AdamDang
6cd482d9dc Update README.md (#2276)
Small typo fix .
2018-03-30 08:00:43 -03:00
Manuel Alejandro de Brito Fontes
937abe6d30 Update go to 1.10.1 (#2273) 2018-03-29 14:04:59 -03:00
AdamDang
1cf69b0337 Typo fixes in modsecurity.md (#2274)
* Update modsecurity.md

Some typo fixes

* Update modsecurity.md
2018-03-29 13:48:16 -03:00
Manuel Alejandro de Brito Fontes
a025dac811 Disable opentracing for nginx internal urls (#2272) 2018-03-29 13:47:13 -03:00
Oilbeater
c7671884c9 clean up tmpl (#2263)
The nginx.conf generated now is too messy remove some section only useful when dynamic configure enabled and headers only useful for https.
2018-03-29 09:36:00 -03:00
Antoine Cotten
df3f5b4f13 Use SharedIndexInformers in place of Informers (#2271) 2018-03-29 09:35:01 -03:00
Manuel Alejandro de Brito Fontes
5bc4e2b062 Revert deleted assignment in #2146 (#2270) 2018-03-28 20:33:03 -03:00
Sylvain Rabot
d459cf0333 Managing a whitelist for _/nginx_status (#2187)
Signed-off-by: Sylvain Rabot <s.rabot@lectra.com>
2018-03-28 09:27:34 -03:00
AdamDang
5c5c97866c Update README.md (#2267)
It should be "your Ingress targets" in line 7.
2018-03-27 12:50:26 -03:00
AdamDang
a14e81fb82 Update annotations.md (#2255)
a typo fix
2018-03-25 12:55:30 -03:00
Manuel Alejandro de Brito Fontes
20f3d913d3 Add deployment docs for AWS NLB (#1785) 2018-03-24 15:27:24 -03:00
Manuel Alejandro de Brito Fontes
4b2354fa6d Update go dependencies (#2234) 2018-03-23 13:35:19 -03:00
Zenara Daley
9470b03561 Add EWMA as configurable load balancing algorithm (#2229) 2018-03-23 12:06:21 -03:00
Manuel Alejandro de Brito Fontes
5017b96deb Fix grpc json tag name (#2246) 2018-03-23 09:12:26 -03:00
Oilbeater
9da0ade914 fix: empty ingress path (#2244)
If the origin ingress rule has no field `path`, the default value will be an empty string which will cause issues when rendering template as other place will use `/` as the default value.
Set the default value of path to `/` when retrieve ingress rules from api-server. Thie will fix https://github.com/kubernetes/ingress-nginx/issues/1980
2018-03-23 08:08:42 -03:00
k8s-ci-robot
b99dd3c1ee Merge pull request #2242 from agau4779/http2
add http/2
2018-03-22 10:26:04 -07:00
Ashley Gau
eb473fad86 add http/2 2018-03-22 10:25:35 -07:00
maxlaverse
33623834b8 Revert "Get file max from fs/file-max. (#2050)" (#2241)
This reverts commit a240a23129.
2018-03-22 13:03:04 -03:00
Oilbeater
a1c295f4ca fix: cannot set $service_name if use rewrite (#2220)
$path here is the regular expression formatted nginx location not the origin path in ingress rules. Fix https://github.com/kubernetes/ingress-nginx/issues/2131
2018-03-22 09:43:45 -03:00
yulng
3a8aeda4d7 to kubernetes (#2240)
to kubernetes
2018-03-22 09:20:09 -03:00
halfcrazy
9c1ec681fc Add missing configuration in #2235 (#2236) 2018-03-22 08:53:29 -03:00
fqsghostcloud
814b7cd6dc fix-link (#2239) 2018-03-22 08:32:33 -03:00
fqsghostcloud
535e9405f7 Correct typo (#2238)
* correct spelling

* correct typo
2018-03-22 08:14:06 -03:00
maxlaverse
27d18a63f4 Make proxy_next_upstream_tries configurable (#2232)
* Make proxy_next_upstream_tries configurable

* Code generation
2018-03-22 08:12:36 -03:00
halfcrazy
c3ab37197d add proxy header ssl-client-issuer-dn, fix #2178 (#2235) 2018-03-22 01:38:47 -03:00
Manuel Alejandro de Brito Fontes
087a1592ae Add support for gRPC (#2223)
* Update nginx to 1.13.10 and enable gRPC

* Add support for grpc
2018-03-22 00:38:47 -03:00
Elvin Efendi
4fe4a61ecb clean backends data before sending to Lua endpoint (#2233) 2018-03-21 23:47:39 -03:00
Jianhua Shi
39b7d97fd5 Fix broken links in multi-tls (#2228) 2018-03-21 07:05:14 -03:00
Elvin Efendi
1a32a4c1d6 do not hardcode keepalive for upstream_balancer (#2227) 2018-03-21 00:42:22 -03:00
Manuel Alejandro de Brito Fontes
88cb266a74 Update nginx to 1.13.10 and enable gRPC (#2221) 2018-03-21 00:26:36 -03:00
Manuel Alejandro de Brito Fontes
3bb38ace75 Fix log format documentation (#2219) 2018-03-20 08:51:04 -03:00
Elvin Efendi
ec32628e2c fix wrong config generation when upstream-hash-by is set (#2215) 2018-03-19 17:37:51 -03:00
Elvin Efendi
32e544d6c5 allow ipv6 localhost when enabled (#2210) 2018-03-19 13:32:55 -03:00
Manuel Alejandro de Brito Fontes
70a0da4ade Update cli-arguments.md (#2213) 2018-03-19 13:17:44 -03:00
Manuel Alejandro de Brito Fontes
bc789c50fd Fix dynamic configuration when custom errors are enabled (#2212) 2018-03-19 12:55:17 -03:00
turettn
e8f0101c56 Expose SSL client cert data to external auth provider. (#2078) 2018-03-19 09:30:36 -03:00
Oilbeater
8395f242c7 Add bindata verify check and fix missing bindata changes (#2208)
Add script to verify if bindata is up to date.
Add changes in https://github.com/kubernetes/ingress-nginx/pull/2205 to bindata and reformat bindata file to the format that go-bindata generated.
2018-03-19 09:27:30 -03:00
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