Commit graph

75 commits

Author SHA1 Message Date
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
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
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
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
Manuel Alejandro de Brito Fontes
dbb12afbb9 Merge pull request #829 from rlguarino/ross/2017-06-08T18-48-35-07-00
feat(template): wrap IPv6 addresses in []
2017-06-09 13:21:30 -04:00
Ross Guarino
54f6729dc8 feat(template): wrap IPv6 addresses in []
Add formatIP helper function which will wrap IPv6 addresses
in [] and print IPv4 addresses as is.

Closes #828
2017-06-08 20:11:00 -07:00
Manuel de Brito Fontes
b70e9ca078 Fix dynamic variable name 2017-06-02 11:12:02 -04:00
Manuel de Brito Fontes
22d63d0ad0 Auto stash before merge of "master" and "master/master"
Remove go-reap and use tini as process reaper
2017-05-16 16:06:33 -04:00
Chuanjian Wang
87b05847bf
add template function getenv
Signed-off-by: Chuanjian Wang <me@ckeyer.net>
2017-05-10 14:35:42 +08:00
Manuel de Brito Fontes
de14e2f4f1 Refactor ssl-passthroug using go to handle TLS hello 2017-04-19 01:39:14 -03:00
Manuel de Brito Fontes
aba45a01ad Process exited cleanly before we hit wait4 2017-04-16 20:04:32 -03:00
Manuel de Brito Fontes
e0561ddeb9 Update nginx and generic controller 2017-04-04 11:51:50 -03:00
rsafronov
6d07d32003 Merge branch 'upstream' into nginx/extauth_headers 2017-03-24 20:25:18 -04:00
Manuel Alejandro de Brito Fontes
3d681cda78 Merge pull request #430 from ohmystack/fix-baseurl
Fix add-base-url
2017-03-15 19:37:44 -03:00