23 Commits
Author SHA1 Message Date
Manuel Alejandro de Brito Fontes 3eafaa35a1 Update go dependencies 2020-03-27 19:52:51 -03:00
Manuel Alejandro de Brito FontesandGitHub 28d0c6dc7a Update go mod for 1.14 (#5182) 2020-02-26 18:10:29 -03:00
Manuel Alejandro de Brito FontesandGitHub f00f49a295 Update go dependencies (#5170) 2020-02-26 14:56:11 -03:00
Manuel Alejandro de Brito Fontes 307bf76454 Update go dependencies 2020-02-19 19:42:50 -03:00
Manuel Alejandro de Brito FontesandGitHub d0423c6d4f Update code to use pault.ag/go/sniff package (#5038)
* Update code to use pault.ag/go/sniff package

* Update go dependencies
2020-02-07 12:27:43 -03:00
Manuel Alejandro de Brito FontesandGitHub 3e2bbbed3d Update github.com/paultag/sniff dependency (#5035) 2020-02-07 11:09:28 -03:00
Manuel Alejandro de Brito FontesandGitHub 9278f0cad2 Update metric dependencies (#5023) 2020-02-06 09:50:13 -03:00
Manuel Alejandro de Brito Fontes 23e7565ebc Update go dependencies 2020-01-27 00:01:13 -03:00
Kashif Saadat ca880624a4 Update client_golang version 2020-01-17 15:32:30 +00:00
Manuel Alejandro de Brito Fontes 75c3c47f81 Update go dependencies to v1.17.0 2019-12-10 21:55:54 -03:00
Manuel Alejandro de Brito Fontes d7b530cb0a Update go dependencies for kubernetes 1.16.0 2019-09-19 11:01:00 -03:00
Manuel Alejandro de Brito FontesandGitHub 341d64b652 Update go dependencies (#4524) 2019-09-02 21:30:28 -04:00
Manuel Alejandro de Brito FontesandGitHub c5334b2b3e Update klog (#4426) 2019-08-10 13:49:12 -04:00
Manuel Alejandro de Brito Fontes fcb1b6217b Update go dependencies 2019-07-31 20:55:11 -04:00
Manuel Alejandro de Brito Fontes 36959a4878 Add go dependencies for mdtoc 2019-07-24 21:08:08 -04:00
Manuel Alejandro de Brito FontesandGitHub a54ab3341e Update go dependencies (#4322) 2019-07-17 09:21:14 -04:00
Manuel Alejandro de Brito Fontes 6db1ed390d Update go dependencies 2019-06-27 10:34:47 -04:00
Manuel Alejandro de Brito Fontes a662db5366 Update go dependencies 2019-06-24 09:07:24 -04:00
Manuel Alejandro de Brito Fontes 6140fdd31d Update go dependencies for e2e tests 2019-06-18 23:44:10 -04:00
Manuel Alejandro de Brito Fontes d3c957192e Update go dependencies 2019-05-23 04:58:14 -04:00
Manuel Alejandro de Brito Fontes 3dd1699637 Add dependencies for code generator 2019-05-14 20:15:49 -04: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
Manuel Alejandro de Brito Fontes 1720059244 Switch to go modules 2019-04-15 08:34:23 -04:00