Commit graph

3243 commits

Author SHA1 Message Date
Manuel Alejandro de Brito Fontes
4143f225b1 Rllback nginx 1.15.0 (#2646) 2018-06-14 16:12:23 -04:00
Manuel de Brito Fontes
faac55f7dc Remove VTS from the ingress controller 2018-06-14 11:11:29 -04:00
Manuel de Brito Fontes
19d6ab7edd Update nginx image version 2018-06-14 10:50:09 -04:00
Manuel Alejandro de Brito Fontes
f8e5beaa5d Update nginx to 1.15.0 and remove VTS module (#2618)
Update nginx to 1.15.0 and remove VTS module
2018-06-14 10:17:31 -04:00
k8s-ci-robot
828e56dab7 Merge pull request #2608 from fmejia97/expose-udp-metrics-updated
Expose UDP message on /metrics endpoint
2018-06-14 06:13:28 -07:00
k8s-ci-robot
4f57fd1e06 Merge pull request #2611 from fmejia97/add-metric-emitter-module
Add metric emitter lua module
2018-06-13 20:17:28 -07:00
Francisco Mejia
28d7ec3f05 Add monitor lua module 2018-06-13 22:54:31 -04:00
Francisco Mejia
89dbdb6e7c Create UDP collector that listens to UDP messages from monitor.lua and exposes them on /metrics endpoint 2018-06-13 21:31:51 -04:00
Manuel Alejandro de Brito Fontes
8e303c96e6 Wait the result of the controller deployment before running any test (#2638) 2018-06-13 16:27:17 -04:00
k8s-ci-robot
86b368aecf Merge pull request #2639 from antoineco/feature/improve-controller-logs
Clarify log messages in controller package
2018-06-13 12:53:28 -07:00
Antoine Cotten
7197cf7189 Clarify log messages in controller pkg 2018-06-13 21:27:43 +02:00
Dario Nieuwenhuis
ab2224f998 Capitalize NGINX in docs. 2018-06-13 21:10:56 +02:00
Dario Nieuwenhuis
4d69dac4d7 Switch forwarded-headers e2e to use gorequest. 2018-06-13 21:10:33 +02:00
k8s-ci-robot
8961281086 Merge pull request #2634 from aledbf/sync-0
Disable resync period
2018-06-13 10:27:27 -07:00
Manuel de Brito Fontes
f3bb865371 Workaround https://github.com/golang/go/issues/25872 2018-06-13 13:04:53 -04:00
Manuel de Brito Fontes
6604e99fd4 Only use go get to install required packages 2018-06-13 12:30:10 -04:00
Manuel de Brito Fontes
e23b9e12bf Disable resync period 2018-06-13 11:28:17 -04:00
k8s-ci-robot
77542caf47 Merge pull request #2636 from antoineco/bug/compare-snippet-equality
Add missing equality comparisons for ingress.Server
2018-06-13 08:16:29 -07:00
Antoine Cotten
6aeef2b398 Add missing equality comparisons for ingress.Server 2018-06-13 16:46:54 +02:00
Antoine Cotten
4f027f300e Update documentation for custom error pages (#2630)
* Update documentation for custom error pages

* custom-error-pages: Fix path to error pages

Bump version to 0.2
2018-06-12 18:03:48 -04:00
Dario Nieuwenhuis
34a15507c6 Document use-forwarded-headers configmap option. 2018-06-12 21:48:32 +02:00
Dario Nieuwenhuis
b5423cb7be Add use-forwarded-headers e2e test. 2018-06-12 21:33:53 +02:00
Dario Nieuwenhuis
2a64dfa536 Set use-forwarded-headers to true by default. 2018-06-12 21:33:34 +02:00
k8s-ci-robot
957e765ca1 Merge pull request #2619 from aledbf/non-root
Run as user dropping privileges
2018-06-12 08:30:28 -07:00
Manuel de Brito Fontes
70ec0976a2 Create file permission constants 2018-06-12 11:06:14 -04:00
Manuel de Brito Fontes
e901dd793e Run as user dropping privileges 2018-06-12 10:18:36 -04:00
k8s-ci-robot
2656a7d467 Merge pull request #2625 from qiujian16/proxy-buffer-size-doc
Add annotation doc on proxy buffer size
2018-06-12 04:06:29 -07:00
Jian Qiu
62f5469e40 Add annotation doc on proxy buffer size 2018-06-12 16:06:30 +08:00
k8s-ci-robot
9a8635cb20 Merge pull request #2624 from pieterlange/patch-1
Fix minor documentation example
2018-06-11 09:50:31 -07:00
Pieter Lange
e667c95f40 Fix example
os.urandom sometimes returns more bytes and its generally encouraged to use python3's `secrets` module.
Also double64 encode to prevent messing up the environment variables
with binary data
2018-06-11 17:39:45 +02:00
k8s-ci-robot
cd732d65e3 Merge pull request #2623 from antoineco/improve-flags-doc
Proofread cmd package and update flags description
2018-06-11 04:44:26 -07:00
Antoine Cotten
9579f88a75 Proofread cmd package and update flags description 2018-06-11 13:15:45 +02:00
Stefan Schwärzler
943ee48ca6 fix for #1930, make sessions sticky, for ingress with multiple rules and backends
* for an ingress with session affinity cookie, set the location as path on the cookie when unique
* the previous behaviour ( cookie path=/ ) is preserved for ingresses with multiple rules for the same backend (locations not unique)

added e2e tests for session affinity, setting path on sticky config

added tests:
* it should set the path to /something on the generated cookie
* it should set the path to / on the generated cookie if there's more than one rule referring to the same backend
2018-06-11 10:43:13 +02:00
k8s-ci-robot
6a55da77b3 Merge pull request #2617 from aledbf/update-go
Update go to 1.10.3
2018-06-10 22:57:26 -07:00
Manuel de Brito Fontes
5d01192075 Update go to 1.10.3 2018-06-10 20:57:14 -04:00
Dario Nieuwenhuis
8e95e0a1e9 Add use-forwarded-headers configmap option. 2018-06-11 00:06:14 +02:00
k8s-ci-robot
eb17595431 Merge pull request #2486 from flant/vars
Extend kubernetes interrelation variables in nginx.tmpl
2018-06-08 14:42:58 -07:00
k8s-ci-robot
718e64f308 Merge pull request #2559 from section-io/geoip2-nginx-image
Add geoip2 module and DB to nginx build
2018-06-08 14:40:59 -07:00
Glenn Slaven
86b6532354 Increment nginx image tag 2018-06-08 16:55:40 +10:00
Glenn Slaven
decdf66bbb Add geoip2 module and DB to nginx build 2018-06-08 16:54:52 +10:00
Dmitry Stolyarov
9ba13e34d8 Add $location_path variable
When you define rules in ingress resource, you use path. So it would be
very useful to be able to use the same path in logs.
2018-06-07 13:43:29 +03:00
Dmitry Stolyarov
6f5f0bc0f8 Add $service_port variable
According to TCP/IP (and common sense), $service_name is not enough to
uniquely identify service, we need $service_port for that.
2018-06-07 13:43:20 +03:00
Dmitry Stolyarov
0d729009a9 Move vars to the very beginning of the location
To make it more clear, that you could use $namespace, $ingress_name and
$service_name variables anywhere in location (especialy in lua), move
their definition to the very begining of the location.
2018-06-07 13:43:09 +03:00
k8s-ci-robot
9ada2a09f9 Merge pull request #2603 from fntlnz/influx-module-update-0
Bump nginx influxdb module to f8732268d44aea706ecf8d9c6036e9b6dacc99b2
2018-06-05 05:08:55 -07:00
Lorenzo Fontana
c162b1cac8 Bump nginx influxdb module to f8732268d44aea706ecf8d9c6036e9b6dacc99b2
Signed-off-by: Lorenzo Fontana <lo@linux.com>
2018-06-05 04:33:33 +02:00
k8s-ci-robot
d624e6a249 Merge pull request #2597 from toolboc/arm-compatibility
Fix arm paths for liblua.so and lua_package_cpath
2018-06-04 17:28:53 -07:00
Paul DeCarlo
47636273da Use lua-platform-path symlink for all platforms 2018-06-04 18:15:59 -05:00
k8s-ci-robot
c6baf9c747 Merge pull request #2602 from toolboc/crossplat-fixes
Crossplat fixes
2018-06-04 14:34:54 -07:00
Paul DeCarlo
cd490f2555 symlink lua-platform-path for all platforms 2018-06-04 15:35:09 -05:00
Manuel Alejandro de Brito Fontes
ed519a3b81 Document how the NGINX Ingress controller build nginx.conf (#2479) 2018-06-04 09:08:56 -04:00