Commit graph

3132 commits

Author SHA1 Message Date
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
k8s-ci-robot
4dab6d849c Merge pull request #2601 from amincheloh/patch-1
fix changelog link in README.md
2018-06-04 05:55:53 -07:00
k8s-ci-robot
159099f5ad Merge pull request #2600 from liyongxin/typo-fix-futher-to-further
typo fix futher to further && preformance to performance
2018-06-04 05:51:55 -07:00
Amin Cheloh
016a98f01d fix changelog link in README.md 2018-06-04 18:56:28 +07:00
liyongxin
3fd48a3f3b typo fix futher to further && preformance to performance 2018-06-04 19:24:44 +08:00
k8s-ci-robot
68b33f65bb Merge pull request #2504 from jrthrawny/proxy-protocol-timeout-for-passthrough-pr
Add Timeout For TLS Passthrough
2018-06-03 22:54:53 -07:00
Jason Roberts
036aa05ab7 Configurable Proxy Protocol header timeout for TLS passthrough 2018-06-03 20:10:41 -05:00
k8s-ci-robot
ee4c9a112d Merge pull request #2598 from aledbf/fix-sort
Always sort upstream list to provide stable iteration order
2018-06-02 14:58:52 -07:00
Manuel de Brito Fontes
f99dff1800 Update documentation for sort-backends flag 2018-06-02 17:36:08 -04:00
Manuel de Brito Fontes
b46a9c6e2c Always sort upstream list to provide stable iteration order 2018-06-02 17:07:14 -04:00
k8s-ci-robot
a85fd34548 Merge pull request #2595 from AdamDang/patch-2
Typo fix: successfull->successful
2018-06-02 09:02:55 -07:00
AdamDang
c941dfa5b9 Typo fix: successfull->successful
successfull->successful
2018-06-02 19:44:48 +08:00