Commit Graph
30 Commits
Author SHA1 Message Date
James Munnelly 38f952e88a webhook: don't log messages during normal operation
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-05 20:12:07 +00:00
Will Thames e1bf54d0e3 Add cipher suites configuration and defaults
Add a --tls-cipher-suites command line flag and set to sensible
defaults.

Signed-off-by: Will Thames <will@thames.id.au>
2020-02-03 22:57:59 +10:00
James Munnelly c27ccd78d7 Update webhook validation handler for validation registry
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-01-20 10:05:54 +00:00
James Munnelly a867bc9c7a Update testgroup validation to use internal type
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-01-20 10:05:54 +00:00
James Munnelly 866d89ffb0 Update pkg/webhook to use internal types
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-01-20 10:05:54 +00:00
jetstack-botandGitHub 5ee9e6c7aa Merge pull request #2452 from munnerz/kubernetes-1.17.0
Bump Kubernetes dependencies to v0.17.0
2020-01-14 14:19:57 +00:00
James Munnelly d3b785c263 Bump generated files copyright header year
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-01-07 12:43:44 +00:00
James Munnelly df27fff9ce Don't use time.Tick to prevent leaks
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-12-16 12:45:49 +00:00
James Munnelly ae5c13c1b2 Update codegen
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-12-11 15:42:12 +00:00
James Munnelly f3a58ed991 webhook: register pprof http handlers
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-12-10 16:54:15 +00:00
James Munnelly 62c61ca59b Add extra comments to the webhook's server.go
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-10-24 19:41:55 +01:00
James Munnelly b4df41dd1d Copy UID from admission request to response struct
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-10-24 19:41:55 +01:00
James Munnelly dbd92f88ef Add conversion webhook handler
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-10-24 19:41:55 +01:00
James Munnelly 0209686ed7 Add v2 version to testgroup API
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-10-24 19:41:55 +01:00
James Munnelly ec8d6e12e4 Add validation to ensure Order & Challenge fields are immutable
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-10-17 16:54:15 +01:00
James Munnelly c5ee500a2e Add unit tests for validation webhook handler
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-10-17 16:54:15 +01:00
James Munnelly ed284084b3 Refactor validation handler to support updates
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-10-17 13:27:08 +01:00
James Munnelly ca9e8f33b2 Clean up webhook handler interface
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-10-17 12:56:13 +01:00
James Munnelly da8bf264fd Use standard golang http server for webhook
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-10-17 12:29:34 +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 68cf0c0fcc Add ACME apigroup to scheme
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-23 10:07:53 +01:00
James Munnelly 4f32c680dd Register meta api group with scheme
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 1346d5a67c Fix test failures
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-21 13:11:02 +01:00
James Munnelly 6d0853de61 Add dedicated testgroup for webhook handler tests
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-21 13:11:02 +01:00
James Munnelly 504d2f911d Cleanup scheme building and add comments
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-21 13:11:01 +01:00
James Munnelly 73d66c44ab Move API validations package
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-21 13:11:01 +01:00
James Munnelly 00410e3831 Switch to use new webhook handlers
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-21 13:10:31 +01:00
James Munnelly 20a6dd6233 Add new webhook handlers
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-21 13:10:31 +01:00
James Munnelly d56b6be948 Move API webhook validation package
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-13 20:41:53 +01:00