Commit graph

18 commits

Author SHA1 Message Date
Manuel Alejandro de Brito Fontes
a662db5366
Update go dependencies 2019-06-24 09:07:24 -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
Manuel Alejandro de Brito Fontes
14f4a7b8e8
Update go dependencies 2019-03-28 22:36:15 -03:00
Manuel Alejandro de Brito Fontes
f4a4daed84 Update go dependencies 2018-12-05 13:27:09 -03:00
Manuel Alejandro de Brito Fontes
6c33bee8fd
Update go dependencies 2018-10-10 21:46:45 -03:00
Manuel de Brito Fontes
fe616fc9d7 Update go dependencies 2018-08-25 18:53:28 -03:00
Manuel de Brito Fontes
063cc68d1c
Update go dependencies 2018-07-12 13:19:17 -04:00
Manuel de Brito Fontes
bb4d483837
Update go dependencies 2018-05-26 16:27:45 -04:00
Manuel Alejandro de Brito Fontes
93c72ef646
Update go dependencies (#2234) 2018-03-23 13:35:19 -03:00
Manuel de Brito Fontes
44fd79d061
Update go dependencies and cleanup deprecated packages 2018-01-07 12:10:25 -03:00
Manuel de Brito Fontes
f3bde94d68 Update go dependencies 2017-11-12 20:08:33 -03:00
Manuel de Brito Fontes
601fb7dacf Add e2e tests 2017-10-20 20:33:48 -03:00
Manuel de Brito Fontes
d6d374b28d Update dependencies 2017-10-06 19:40:31 -03:00
Manuel de Brito Fontes
bf5616c65b Replace godep with dep 2017-10-06 17:26:14 -03:00
Nick Sardo
6a59f4c9a2 Update dependencies to K8s 1.8 2017-09-29 10:12:14 -07:00
Nick Sardo
9b22796383 Update vendored dependencies 2017-07-31 13:35:10 -07:00
Manuel de Brito Fontes
4fb61c73d1 Update go dependencies 2017-07-20 10:43:09 -07:00