Commit Graph

19 Commits

Author SHA1 Message Date
Maartje Eyskens
d3a623314c Add EmailSANs field
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-02-21 08:49:00 +01:00
JoshVanL
0e18ba7b1d
Run a First func for webhook secret bootstrap and catch recursive unit
test

Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-02-05 11:49:31 +00:00
JoshVanL
72d6d030c8
Adds Create expected action to webhook bootstrap tests due to always
Create being attempted

Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-02-04 17:34:00 +00:00
JoshVanL
c940b30ac1
Added comment around recursive function call and cleans up Create/Update
code

Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-02-04 16:59:48 +00:00
JoshVanL
fa75ced013
Updates webhook bootstrap tests to for new single reconcile key/cert
generation

Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-02-04 14:49:26 +00:00
JoshVanL
e58022462e
Moves key generation to same reconcile as webhook certificate signing to
do single creation/update of Secret

Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-02-04 14:48:45 +00:00
JoshVanL
13b0584838 Change behaviour to be more relaxed around common names
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-10-02 17:48:37 +01:00
JoshVanL
f249888112 Only add common-name annotation if commonName exists
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-10-02 17:48:37 +01:00
JoshVanL
832e20ae29 Adds URISANs field to Certificate
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-10-02 17:48:37 +01:00
James Munnelly
973f4aa424 Update codebase for external dependencies
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-26 12:52:43 +01:00
James Munnelly
bf9fbea23f Update codebase for new meta apigroup
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-20 19:25:04 +01:00
James Munnelly
58754abf37 Refactor codebase for v1alpha2
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-20 16:22:43 +01:00
James Munnelly
1b8a286206 Rename Setup->Init and use Start to start informers
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-22 13:11:33 +01:00
James Munnelly
7fa04c4889 Watch only the webhookboostrap namespace in bootstrap controller
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-22 13:11:33 +01:00
James Munnelly
6052e0558e Refactor base controller and allow Running additional informers
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-21 13:22:57 +01:00
James Munnelly
3ad62b2bb9 Address review feedback
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-15 16:22:04 +01:00
James Munnelly
7dda4d9ce4 Automatically renew webhook certificates 30d before expiry
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-15 15:37:25 +01:00
James Munnelly
b476a4d5f7 Add webhookbootstrap tests
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-15 09:52:55 +01:00
James Munnelly
5c17c2e37f Add webhookbootstrap controller
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-14 21:27:36 +01:00