Eng Zer Jun
54e70d2cc4
refactor: move from io/ioutil to io and os package
...
The io/ioutil package has been deprecated in Go 1.16. This commit
replaces the existing io/ioutil functions with their new definitions in
io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
2021-08-23 19:50:42 +08:00
Inteon
91ec4c773a
use correct contexts everywhere & don't restart apiserver to add crds
...
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com >
2021-08-12 20:05:01 +02:00
Inteon
a569e79776
cleanup test contexts
...
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com >
2021-08-06 17:31:19 +02:00
Inteon
d6cd6f457d
set correct exit codes when exiting
...
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com >
2021-07-22 12:57:08 +02:00
joshvanl
56a604c6f0
Init plugins in webhook cmd
...
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com >
2021-03-26 17:26:28 +00:00
joshvanl
109b3e0b28
Rename Wehook's API server host flag from --master to --api-server-host
...
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com >
2021-03-26 17:26:28 +00:00
joshvanl
59049ee58a
Add SubjectAccessReview client to validation registration on webhook start. Make API address configurable
...
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com >
2021-03-26 17:26:28 +00:00
joshvanl
33f3fe473c
Rename webhook SchemeBackedMutator -> RegistryBackedMutator
...
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com >
2021-02-10 09:39:52 +00:00
joshvanl
90f0869899
Updates webhook command to use new mutating registry
...
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com >
2021-02-08 19:23:15 +00:00
Maartje Eyskens
ab0cd57dc5
Use The cert-manager Authors.
...
Signed-off-by: Maartje Eyskens <maartje@eyskens.me >
2020-12-11 19:04:13 +01:00
Maartje Eyskens
1788a9d758
Update copyright to cert-manager project
...
Signed-off-by: Maartje Eyskens <maartje@eyskens.me >
2020-12-08 19:04:49 +01:00
Maartje Eyskens
3259fdfe9b
Implement feedback
...
Signed-off-by: Maartje Eyskens <maartje@eyskens.me >
2020-08-12 10:59:42 +02:00
Maartje Eyskens
fecd0b3518
Set all log levels for info
...
Signed-off-by: Maartje Eyskens <maartje@eyskens.me >
2020-08-12 10:59:41 +02:00
JoshVanL
d45847d302
Reverse webhook cmd run parameters
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com >
2020-06-26 13:47:24 +01:00
JoshVanL
c3e2aae551
Fix binary names, printing errors, and help messages
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com >
2020-06-26 13:47:11 +01:00
JoshVanL
7c831c537e
Add missing webhook flags and make options pointer
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com >
2020-06-26 13:47:07 +01:00
JoshVanL
1107390b23
Fix webhook testing cmd
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com >
2020-06-26 13:46:55 +01:00
JoshVanL
964a9b27dc
Move the webhook runtime into cobra
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com >
2020-06-26 13:46:48 +01:00
James Munnelly
793f9677ae
Use default Golang ciphersuites if none are specified
...
Signed-off-by: James Munnelly <james@munnelly.eu >
2020-03-31 09:32:21 +01:00
James Munnelly
e0db0296d2
Run webhook on random port during integration tests
...
Signed-off-by: James Munnelly <james@munnelly.eu >
2020-03-30 14:26:05 +01:00
James Munnelly
5036693fcf
Add support for dynamic secret source to webhook binary
...
Signed-off-by: James Munnelly <james@munnelly.eu >
2020-03-30 14:25:54 +01:00
James Munnelly
577e53b9bb
webhook: create 'tls' package containing certificates sources + tests
...
Signed-off-by: James Munnelly <james@munnelly.eu >
2020-03-30 14:25:54 +01:00
James Munnelly and Maartje Eyskens
053e3fc74c
Refactor webhook cmd to be reused
...
Signed-off-by: James Munnelly <james@munnelly.eu >
2020-03-13 15:30:57 +01:00