Commit graph

4034 commits

Author SHA1 Message Date
okryvoshapka-connyun
8cc9afe8ee Added Global External Authentication settings to configmap parameters incl. addons 2019-05-03 12:08:16 +02:00
Kubernetes Prow Robot
b4f2880ee6
Merge pull request #3802 from tjamet/admission-controller
Add a validating webhook for ingress sanity check
2019-05-02 07:52:25 -07:00
Kubernetes Prow Robot
7ff6643372
Merge pull request #4037 from marcostvz/fix-doc-rewrite
[doc] fixing regex in example of rewrite
2019-05-02 07:02:23 -07:00
Kubernetes Prow Robot
ddedd165b2
Merge pull request #4036 from Yantrio/patch-1
Docs have incorrect command in baremetal.md
2019-04-26 12:28:05 -07:00
Manuel Alejandro de Brito Fontes
e7a5bec5c7
Release custom error pages image v0.4 [skip-ci] (#4042) 2019-04-25 16:02:03 -04:00
Kubernetes Prow Robot
a2f9193a04
Merge pull request #4040 from juliohm1978/master
Fix default Content-Type for custom-error-pages example
2019-04-25 12:18:28 -07:00
Julio H Morimoto
7245340e88
Fix default Content-Type for custom-error-pages example
This should fix issue [4039](https://github.com/kubernetes/ingress-nginx/issues/4039). This default backend fails to send the correct `Content-Type` header when it fails to decode the `Accept` request header.

This patch simply forces `text/html` in that specific scenario.
2019-04-25 14:53:22 -03:00
Marcos Estevez
69c1efc0e3
[doc] fixing regex in example of rewrite
avoids /somethingfoo to be matched by regex

Signed-off-by: Marcos Estevez <marcos.stvz@gmail.com>
2019-04-25 12:43:32 +02:00
James Humphries
2a31790887
Docs have incorrect command in baremetal.md
The output shown is for `kubectl get node` and not `kubectl describe node`.

I've updated the docs to use the correct command.
2019-04-25 11:10:16 +01:00
Kubernetes Prow Robot
5d31fb2c5d
Merge pull request #4034 from warmchang/bare-metal
🔧 fix navigation error in file baremetal.md
2019-04-24 06:16:07 -07:00
William Zhang
a94eea2c03 🔧 fix navigation error in file baremetal.md
Signed-off-by: William Zhang <zhang.wanmin@zte.com.cn>
2019-04-24 15:45:04 +08:00
Kubernetes Prow Robot
e68b68d20c
Merge pull request #3966 from GabrielNicolasAvellaneda/master
Documentation example code fix
2019-04-19 09:33:54 -07:00
Thibault Jamet
1cd17cd12c
Implement a validation webhook
In case some ingress have a syntax error in the snippet configuration,
the freshly generated configuration will not be reloaded to prevent tearing down existing rules.
Although, once inserted, this configuration is preventing from any other valid configuration to be inserted as it remains in the ingresses of the cluster.
To solve this problem, implement an optional validation webhook that simulates the addition of the ingress to be added together with the rest of ingresses.
In case the generated configuration is not validated by nginx, deny the insertion of the ingress.

In case certificates are mounted using kubernetes secrets, when those
changes, keys are automatically updated in the container volume, and the
controller reloads it using the filewatcher.

Related changes:

- Update vendors
- Extract useful functions to check configuration with an additional ingress
- Update documentation for validating webhook
- Add validating webhook examples
- Add a metric for each syntax check success and errors
- Add more certificate generation examples
2019-04-18 19:07:04 +02:00
Kubernetes Prow Robot
d7f0713046
Merge pull request #4022 from anthonyho007/mult-auth-e2e
Add e2e test coverage for mult-auth
2019-04-18 08:22:11 -07:00
Anthony Ho
bd694bf3de add e2e coverage for multi auth 2019-04-18 10:32:15 -04:00
Manuel Alejandro de Brito Fontes
7283a01b9f
Update nginx image and Go to 1.12.4 (#4010) 2019-04-17 22:45:51 -04:00
Kubernetes Prow Robot
0953b3d22e
Merge pull request #4009 from aledbf/update-nginx
Update nginx to 1.15.12
2019-04-17 13:30:05 -07:00
Kubernetes Prow Robot
774403fa7c
Merge pull request #4012 from aledbf/modules
Switch to go modules
2019-04-17 13:26:04 -07:00
Manuel Alejandro de Brito Fontes
dddbd8293b
Update nginx to 1.15.12 2019-04-17 15:44:03 -04:00
Kubernetes Prow Robot
358aba729c
Merge pull request #4014 from Shopify/update-krew-manifest
Update plugin krew manifest
2019-04-16 05:59:08 -07:00
Kubernetes Prow Robot
34734edc6e
Merge pull request #4005 from Shopify/proxy-next-upstream-timeout
Support proxy_next_upstream_timeout
2019-04-15 09:10:09 -07:00
Alex Kursell
daa189223b Add homepage and .exe to plugin 2019-04-15 11:22:13 -04:00
Alex Kursell
ffeb1fe348 Support proxy_next_upstream_timeout 2019-04-15 11:08:57 -04:00
Manuel Alejandro de Brito Fontes
1720059244
Switch to go modules 2019-04-15 08:34:23 -04:00
Kubernetes Prow Robot
461954facb
Merge pull request #4008 from ElvinEfendi/refactor-get-fake-cert
refactor GetFakeSSLCert
2019-04-14 11:50:00 -07:00
Elvin Efendi
13a7e2c5d0 refactor GetFakeSSLCert 2019-04-14 09:35:48 -04:00
Kubernetes Prow Robot
4c37e0e4b7
Merge pull request #4004 from Shopify/no-valgrind
Remove valgrind
2019-04-13 20:48:01 -07:00
Kubernetes Prow Robot
ce418168f4
Merge pull request #3991 from aledbf/0.24.1
Release 0.24.1
2019-04-13 16:02:00 -07:00
Manuel Alejandro de Brito Fontes
45a5ab4c1e
Release 0.24.1 2019-04-13 17:45:30 -04:00
Kubernetes Prow Robot
6b6610dabe
Merge pull request #4000 from ElvinEfendi/dynamic-ssl-improvements
Dynamic ssl improvements
2019-04-13 14:38:00 -07:00
Kubernetes Prow Robot
6fead824d5
Merge pull request #4007 from ElvinEfendi/fix-satisfy-any
do not create empty access_by_lua_block
2019-04-13 14:06:00 -07:00
Elvin Efendi
b1a6aa2973 make sure unit test create fakecertificate 2019-04-13 16:35:52 -04:00
Elvin Efendi
2f3cf1a6c0 do not create empty access_by_lua_block 2019-04-13 16:11:46 -04:00
Elvin Efendi
93f00b2143 fix luacheck warning 2019-04-13 15:26:48 -04:00
Elvin Efendi
b13432dbe0 adjust default ssl cert e2e test 2019-04-13 15:00:44 -04:00
Elvin Efendi
45add6cb7d better certificate lua unit tests 2019-04-13 14:01:44 -04:00
Elvin Efendi
42c207c548 handle default certificate correctly in Lua 2019-04-13 12:32:06 -04:00
Elvin Efendi
417af76e97 properly handle default and custom default certs in dynamic ssl mode 2019-04-13 12:32:06 -04:00
Elvin Efendi
f067712824 better logging in certificate.lua 2019-04-13 12:32:06 -04:00
Alex Kursell
ae592821c6 Remove valgrind 2019-04-12 12:09:52 -04:00
Kubernetes Prow Robot
11539da09d
Merge pull request #3999 from wangxy518/patch-4
Update README.md
2019-04-12 08:06:49 -07:00
wangxy518
91d0b6f6d0
Update README.md 2019-04-12 10:37:52 +08:00
Kubernetes Prow Robot
ac043771ff
Merge pull request #3990 from ElvinEfendi/fix-dynamic-cert-issue
Fix dynamic cert issue with default-ssl-certificate
2019-04-09 20:30:11 -07:00
Elvin Efendi
fc6e7c9be0 fix dynamic cert bug 2019-04-09 22:11:21 -04:00
Elvin Efendi
1ddf5d2752 regression test for dynamic cert related default-certificate issue 2019-04-09 22:11:21 -04:00
Elvin Efendi
107bec676a fix custom default backend test title 2019-04-09 20:24:45 -04:00
Kubernetes Prow Robot
c6204d8684
Merge pull request #3978 from aledbf/ca-cert-docs
Fix CA certificate example docs
2019-04-09 16:52:11 -07:00
Kubernetes Prow Robot
10c0df55c8
Merge pull request #3980 from aledbf/refactor-isiterable
Refactor isIterable
2019-04-09 16:50:12 -07:00
Kubernetes Prow Robot
4cc086a21c
Merge pull request #3987 from Shopify/plugin-docs-link
Link to kubectl plugin docs in nav
2019-04-09 15:30:46 -07:00
Alex Kursell
3cb8b2408d Link to kubectl plugin docs in nav 2019-04-09 17:46:03 -04:00