Commit graph

97 commits

Author SHA1 Message Date
Manuel de Brito Fontes
c7bf08c263 Fix proxy protocol check 2017-10-04 14:11:51 -03:00
Manuel de Brito Fontes
a1b458f7fb Refactor listers 2017-10-01 10:23:36 -03:00
Manuel de Brito Fontes
f253d249f2 Cleanup 2017-09-29 18:03:27 -03:00
Manuel de Brito Fontes
3ed6019f9f Merge remote-tracking branch 'master/master' into refactor-template-headers 2017-09-29 09:03:57 -03:00
Manuel de Brito Fontes
8fc6101d3b Add header to upstream server for external authentication 2017-09-27 23:51:01 -03:00
Manuel de Brito Fontes
6ee2b726f8 Fix template mappings 2017-09-26 14:20:36 -03:00
Manuel de Brito Fontes
d73edb8176 Merge remote-tracking branch 'master/master' into refactor-template-headers
Merge
2017-09-26 14:08:17 -03:00
Fernando Diaz
0c178252b2 Correct Error Handling to avoid panics and add more logging to template
When a type error is found we return an empty object of the expected
type(Example: return "" for string return type). Also makes adds logging
to all errors caused by type and corrects all related logging for consistency.
2017-09-22 18:12:08 -05:00
Manuel de Brito Fontes
cd288b9993 Improve resource usage in nginx controller 2017-09-19 14:05:18 -03:00
Manuel de Brito Fontes
669428e2a8 Merge remote-tracking branch 'master/master' into refactor-template-headers 2017-09-17 16:48:31 -03:00
Manuel de Brito Fontes
f38f49e770 Refactor X-Forwarded-* headers 2017-09-17 16:17:12 -03:00
Manuel de Brito Fontes
0661eaa08c Cleanup 2017-09-17 16:12:58 -03:00
Fernando Diaz
c4293bcc38 Increase coverage in template.go for nginx controller
Adds some of the missing unit tests to template.go for the nginx
controller.
2017-09-10 11:57:14 -05:00
Manuel de Brito Fontes
c24e212aac Allow custom forwarded for header 2017-09-07 18:11:23 -03:00
danielqsj
e9a14cbe97 Add indent for nginx.conf 2017-08-31 17:10:12 +08:00
danielqsj
493aede7fe Delete useless statement 2017-08-30 17:03:50 +08:00
Manuel de Brito Fontes
e65d3c7571 Improve logs 2017-08-29 16:40:03 -03:00
Max Laverse
d9e7d1eabc Add support for 'worker-shutdown-timeout' 2017-08-29 11:55:59 +02:00
Manuel de Brito Fontes
edcc3dfc81 Make Ingress annotations available in template 2017-08-25 22:39:30 -03:00
Manuel de Brito Fontes
a85cfd10b5 Add additional headers when custom default backend is used 2017-08-25 20:56:08 -03:00
Manuel Alejandro de Brito Fontes
d2546d0291 Merge pull request #1212 from danielqsj/bind-address
Add option to specify addresses on which the server will accept
2017-08-25 12:05:52 -04:00
Max Laverse
dd00b6d7b3 Add support for access-log-path and error-log-path 2017-08-25 14:03:09 +02:00
danielqsj
06f237c66d Add options to bind address 2017-08-25 10:24:32 +08:00
Manuel de Brito Fontes
0459674931 Add flags to customize listen ports and detect port collisions 2017-08-24 10:56:08 -03:00
Fernando Diaz
86357332e3 Add Validation for Client Body Buffer Size
Adds validation so that if a bad value is input into the client
body buffer size annotation then client_body_buffer_size is not set.
That way a log error is thrown and it fails gracefully rather than
killing the ingress controller.
2017-08-23 20:04:51 -05:00
Manuel de Brito Fontes
806144421e Move certificate authentication from location to server 2017-08-23 00:39:38 -03:00
Seth Pollack
f045fa6d88 refactor rate limit whitelist 2017-08-22 20:47:29 -04:00
Seth Pollack
a3594f6c4c keep zones unique per ingress resource 2017-08-22 14:54:08 -04:00
Manuel de Brito Fontes
a392f29956 Replace base64 encoding with random uuid 2017-08-22 10:53:13 -03:00
Manuel Alejandro de Brito Fontes
def5155aa6 Merge pull request #1210 from sethpollack/whitelist
add rate limit whitelist
2017-08-22 08:23:45 -04:00
Manuel Alejandro de Brito Fontes
9863140b8c Merge pull request #1186 from diazjf/client-body-buffer-size
Add annotation for client-body-buffer-size per location
2017-08-22 08:02:35 -04:00
Seth Pollack
6253c34266 add rate limit whitelist 2017-08-22 07:53:52 -04:00
Fernando Diaz
e9ffbf0f87 Add annotation for client-body-buffer-size per location
Adds an annotation which allows for client-body-buffer-size to
be configured per specific locations specified in the ingress
resource yaml.
2017-08-21 23:12:30 -05:00
danielqsj
68685edfc9 Add support for specific scheme for base url 2017-08-21 14:10:35 +08:00
Manuel de Brito Fontes
b2be9f0e04 Fix sign in URL 2017-08-20 20:39:58 -03:00
Manuel de Brito Fontes
ed68194688 Add support for temporal and permanent redirects 2017-08-20 15:07:25 -03:00
Manuel Alejandro de Brito Fontes
f6413e292f Merge pull request #1123 from diazjf/server-alias
Add support for Server Alias in Nginx
2017-08-19 14:47:23 -04:00
danielqsj
d996a25a79 Fix sticky upstream not used when enable rewrite 2017-08-18 17:55:23 +08:00
Fernando Diaz
47e4dd59a8 Merge branch 'master' into server-alias 2017-08-17 17:32:48 -05:00
Fernando Diaz
e12138f4dc Remove any aliases that conflict with a hostname
Removes the alias association if an existing server
with the same hostname as the alias exists. This is
done to disallow any duplicate server creation when
the alias annotation is provided.
2017-08-17 13:05:52 -05:00
Fernando Diaz
62fea9aa01 Update Server Alias Annotation with Review Changes
Updates the Server-Alias annotation to create another server
containing the same configuration as the current server, but
with the name provided in the annotation.
2017-08-15 14:49:04 -05:00
zhengjiajin
890c57f2ca feat(#733)Support nginx bandwidth control 2017-08-13 14:52:20 +08:00
Seth Pollack
40a9a54082
add per minute rate limiting 2017-08-01 23:24:48 -04:00
Georgiy Kutsurua
d56e261835 Sets parameters for a shared memory zone that will keep states for various keys. 2017-07-07 15:45:13 +04:00
Manuel de Brito Fontes
835aea4bab Fix lint code errors 2017-07-06 16:17:46 -04:00
Remington Reackhof
1b3f0acde1 add configmap and template changes for comma separated proxy-real-ip-cidr list 2017-07-06 10:54:36 -05:00
Manuel de Brito Fontes
5d5e0df4b0 Lint code 2017-07-03 22:10:48 -04:00
Gorka Lerchundi Osa
5503e8d0e9 nginx/proxy: allow specifying next upstream behaviour 2017-06-27 23:30:43 +02:00
Manuel de Brito Fontes
83d03a19a6 Add feature to allow sticky sessions per location 2017-06-22 14:12:57 -04:00
Manuel de Brito Fontes
92e3b5ba78 Lint nginx code 2017-06-14 23:05:04 -04:00