Commit Graph

5 Commits

Author SHA1 Message Date
Ed Bartosh
1215bc7fb7 admissionwebhook: fix region regexp
Region regexp doesn't allow to have dots, which
results in incorrect matching of arria10.dcp1.0 region.
2018-11-28 19:56:35 +02:00
Dmitry Rozhkov
f1623cc5e9 webhook: add support for multiple FPGAs per container 2018-10-04 10:19:23 +03:00
Dmitry Rozhkov
3814cdaf79 webhook: generate error when requesting unknown FPGA resource 2018-08-20 12:11:54 +03:00
Dmitry Rozhkov
2ff6c5929a Use annotated errors for tracing 2018-08-16 17:31:19 +03:00
Dmitry Rozhkov
271bc0d29a webhook: add dynamically configured mappings
Currently we have hardcoded mapping from human readable names of
AFs and FPGA regions like arria10-nlb0 to the resource names
produced by the FPGA device plugin. This is not sustainable
long term solution.

Implement CRD based mappings so that a new mapping can be added or
removed dynamically by cluster admins with CRD resources.
2018-08-08 17:58:18 +03:00