ingress-nginx-helm/vendor
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
..
cloud.google.com/go Switch to go modules 2019-04-15 08:34:23 -04:00
contrib.go.opencensus.io/exporter/ocagent Switch to go modules 2019-04-15 08:34:23 -04:00
github.com Switch to go modules 2019-04-15 08:34:23 -04:00
go.opencensus.io Switch to go modules 2019-04-15 08:34:23 -04:00
golang.org/x Switch to go modules 2019-04-15 08:34:23 -04:00
google.golang.org Switch to go modules 2019-04-15 08:34:23 -04:00
gopkg.in Update go dependencies 2018-12-05 13:27:09 -03:00
k8s.io Implement a validation webhook 2019-04-18 19:07:04 +02:00
sigs.k8s.io Switch to go modules 2019-04-15 08:34:23 -04:00
modules.txt Switch to go modules 2019-04-15 08:34:23 -04:00