Commit graph

4273 commits

Author SHA1 Message Date
Kubernetes Prow Robot
0414cd03e0 Merge pull request #3966 from GabrielNicolasAvellaneda/master
Documentation example code fix
2019-04-19 09:33:54 -07:00
Thibault Jamet
1e5dedd7dd 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
92d88554de 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
d45505d132 add e2e coverage for multi auth 2019-04-18 10:32:15 -04:00
Manuel Alejandro de Brito Fontes
829fbf2668 Update nginx image and Go to 1.12.4 (#4010) 2019-04-17 22:45:51 -04:00
Kubernetes Prow Robot
956d616d5f 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
fd299ae65e Merge pull request #4012 from aledbf/modules
Switch to go modules
2019-04-17 13:26:04 -07:00
Manuel Alejandro de Brito Fontes
f72ca72bfe Update nginx to 1.15.12 2019-04-17 15:44:03 -04:00
Kubernetes Prow Robot
aa7a9a6dd1 Merge pull request #4014 from Shopify/update-krew-manifest
Update plugin krew manifest
2019-04-16 05:59:08 -07:00
Kubernetes Prow Robot
ab8ab0b46c 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
af713087f9 Add homepage and .exe to plugin 2019-04-15 11:22:13 -04:00
Alex Kursell
e9e4626d08 Support proxy_next_upstream_timeout 2019-04-15 11:08:57 -04:00
Manuel Alejandro de Brito Fontes
6982a13b0e Switch to go modules 2019-04-15 08:34:23 -04:00
Kubernetes Prow Robot
81b5983685 Merge pull request #4008 from ElvinEfendi/refactor-get-fake-cert
refactor GetFakeSSLCert
2019-04-14 11:50:00 -07:00
Elvin Efendi
d9b0db1f42 refactor GetFakeSSLCert 2019-04-14 09:35:48 -04:00
Kubernetes Prow Robot
5ebc2c7c2d Merge pull request #4004 from Shopify/no-valgrind
Remove valgrind
2019-04-13 20:48:01 -07:00
Kubernetes Prow Robot
a188e31a81 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
57568f42c8 Release 0.24.1 2019-04-13 17:45:30 -04:00
Kubernetes Prow Robot
59d8eea170 Merge pull request #4000 from ElvinEfendi/dynamic-ssl-improvements
Dynamic ssl improvements
2019-04-13 14:38:00 -07:00
Kubernetes Prow Robot
fb2e2b9f0d 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
82055c11e6 make sure unit test create fakecertificate 2019-04-13 16:35:52 -04:00
Elvin Efendi
4e675a0563 do not create empty access_by_lua_block 2019-04-13 16:11:46 -04:00
Elvin Efendi
812d0600c0 fix luacheck warning 2019-04-13 15:26:48 -04:00
Elvin Efendi
e38c70b41b adjust default ssl cert e2e test 2019-04-13 15:00:44 -04:00
Elvin Efendi
064b0cf9d7 better certificate lua unit tests 2019-04-13 14:01:44 -04:00
Elvin Efendi
83a5f99da4 handle default certificate correctly in Lua 2019-04-13 12:32:06 -04:00
Elvin Efendi
bc379d5147 properly handle default and custom default certs in dynamic ssl mode 2019-04-13 12:32:06 -04:00
Elvin Efendi
beb83a0c4a better logging in certificate.lua 2019-04-13 12:32:06 -04:00
Alex Kursell
faa8252c8f Remove valgrind 2019-04-12 12:09:52 -04:00
Kubernetes Prow Robot
aafb8d28dd Merge pull request #3999 from wangxy518/patch-4
Update README.md
2019-04-12 08:06:49 -07:00
wangxy518
bfa0fd0fa9 Update README.md 2019-04-12 10:37:52 +08:00
Kubernetes Prow Robot
e916cc71dc 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
8f10e41ab3 fix dynamic cert bug 2019-04-09 22:11:21 -04:00
Elvin Efendi
d59ac81134 regression test for dynamic cert related default-certificate issue 2019-04-09 22:11:21 -04:00
Elvin Efendi
fa43c6b990 fix custom default backend test title 2019-04-09 20:24:45 -04:00
Kubernetes Prow Robot
7d159964a2 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
591a676653 Merge pull request #3980 from aledbf/refactor-isiterable
Refactor isIterable
2019-04-09 16:50:12 -07:00
Kubernetes Prow Robot
18b4543627 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
004a5ac82f Link to kubectl plugin docs in nav 2019-04-09 17:46:03 -04:00
Kubernetes Prow Robot
70f1e9ecd4 Merge pull request #3982 from Shopify/plugin-docs
Add kubectl plugin docs
2019-04-09 06:49:08 -07:00
Alex Kursell
ecf04c20e9 Add kubectl plugin docs 2019-04-08 18:12:00 -04:00
Manuel Alejandro de Brito Fontes
efd5dc5443 Add missing PR in changelog [skip ci] (#3981) 2019-04-08 15:07:27 -04:00
Manuel Alejandro de Brito Fontes
2c6ca73b54 Refactor isIterable 2019-04-08 10:11:44 -04:00
Manuel Alejandro de Brito Fontes
3c4f93d142 Fix CA certificate example docs 2019-04-08 08:35:34 -04:00
Manuel Alejandro de Brito Fontes
d9f7ac4318 Update yaml files to 0.24.0 [skip-ci] (#3975) 2019-04-07 20:25:17 -04:00
Kubernetes Prow Robot
33f1d22de7 Merge pull request #3970 from aledbf/0.24
Release 0.24.0
2019-04-06 12:30:26 -07:00
Manuel Alejandro de Brito Fontes
f8dc8e99fa Release 0.24.0 2019-04-06 12:33:12 -03:00
Manuel Alejandro de Brito Fontes
013dfef7d0 Update nginx image to 0.84 (#3969) 2019-04-06 12:30:35 -03:00
Manuel Alejandro de Brito Fontes
6f26088659 Update nginx image (#3968) 2019-04-06 12:30:13 -03:00
Gabriel Nicolas Avellaneda
a1013d1324 Proper use of quotes for running the command
$1 on a shell has a special meaning and inside of double quotes (") it will be expaned to an empty string. Using single quotes fixes the issue.
2019-04-05 14:06:00 -03:00