Commit graph

2812 commits

Author SHA1 Message Date
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
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
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
k8s-ci-robot
89a0ba55c0 Merge pull request #2592 from AdamDang/patch-1
Typo fix: are be->are/to on->to
2018-06-01 06:41:57 -07:00
AdamDang
ba546d16e0 Typo fix: are be->are/to on->to
are be->are
to on->to
2018-06-01 08:56:28 +08:00
k8s-ci-robot
3f25d9d4c2 Merge pull request #2591 from Shopify/access-log-improvements
Access log improvements
2018-05-31 13:26:56 -07:00
Elvin Efendi
64da1c1a24 access_log should be off for internal /configuration endpoint 2018-05-31 16:01:54 -04:00
Elvin Efendi
3e973f5d32 log annotation should be set for catch-all servers 2018-05-31 16:01:54 -04:00
k8s-ci-robot
a42d17c109 Merge pull request #2588 from aledbf/update-nginx
Update nginx dependencies
2018-05-31 12:30:56 -07:00
Manuel de Brito Fontes
11bf9e1916 Update nginx dependencies 2018-05-31 15:00:15 -04:00
k8s-ci-robot
849dc407e3 Merge pull request #2590 from mirake/fix-typos
Typo fix: muthual autentication -> mutual authentication
2018-05-31 05:59:55 -07:00
ruicao
fabb94b13b Typo fix: muthual autentication -> mutual authentication 2018-05-31 14:18:08 +08:00
k8s-ci-robot
55669741c4 Merge pull request #2583 from aviadatsnyk/patch-1
docs: add secret scheme details to the example
2018-05-30 04:13:54 -07:00
k8s-ci-robot
bed603ffd5 Merge pull request #2581 from borekb/patch-1
Improved link in modsecurity.md
2018-05-30 04:05:55 -07:00
aviadatsnyk
6c3f9f813a add secret scheme details to the example 2018-05-30 10:52:47 +03:00
Borek Bernard
0923b01e01 Improved link in modsecurity.md 2018-05-30 09:25:12 +02:00
k8s-ci-robot
95177b5996 Merge pull request #2577 from Shopify/e2e-test-namespace-isolation
make sure ingress-nginx instances are watching their namespace only during test runs
2018-05-28 14:25:31 -07:00
k8s-ci-robot
ea23ed025d Merge pull request #2543 from Shopify/lua-balancer-refactoring
introduce a balancer interface
2018-05-28 14:09:31 -07:00
Elvin Efendi
30bf62e4b5 make sure ingress-nginx instances are watching their namespace only during test runs 2018-05-28 17:00:36 -04:00
Elvin Efendi
40ea198db9 make sure after_balance is actually otional
add inline comment to make LB algorithm change detection logic clearer

also require port in addition to host
2018-05-28 16:08:53 -04:00
Elvin Efendi
ffc01d6a47 fix ewma.balance and add unit tests for it 2018-05-28 15:51:58 -04:00
Elvin Efendi
0aa763d898 make sure balancer gets deleted when ther is no backend 2018-05-28 15:51:58 -04:00
Elvin Efendi
ffc051a4b4 refactor balancer into more testable and extensible interface 2018-05-28 15:51:58 -04:00