pkg/webhook/resourcesemantics/defaulting
Hector Fernandez 15605c78a2
Defaulting Controller options for all kind of webhooks (#2738)
* functional options

* move options to its own package

Signed-off-by: Hector Fernandez <hector@chainguard.dev>

* add controller options to the webhook options

Signed-off-by: Hector Fernandez <hector@chainguard.dev>

* create custom options funcs for each webhook type

Signed-off-by: Hector Fernandez <hector@chainguard.dev>

* address comments from reviewers

Signed-off-by: Hector Fernandez <hector@chainguard.dev>

---------

Signed-off-by: Hector Fernandez <hector@chainguard.dev>
Co-authored-by: dprotaso <dprotaso@gmail.com>
2023-06-12 08:38:02 +00:00
..
controller.go Defaulting Controller options for all kind of webhooks (#2738) 2023-06-12 08:38:02 +00:00
defaulting.go sets mutating webhook ReinvocationPolicy to ifNeeded (#2472) 2022-06-07 15:53:37 +00:00
defaulting_test.go sets mutating webhook ReinvocationPolicy to ifNeeded (#2472) 2022-06-07 15:53:37 +00:00
options.go Defaulting Controller options for all kind of webhooks (#2738) 2023-06-12 08:38:02 +00:00
options_test.go Defaulting Controller options for all kind of webhooks (#2738) 2023-06-12 08:38:02 +00:00
table_test.go sets mutating webhook ReinvocationPolicy to ifNeeded (#2472) 2022-06-07 15:53:37 +00:00
user_info.go Fix invalid creator or lastModifier annotations on core resources (#2409) 2022-01-31 06:49:30 -08:00
user_info_test.go v2 (#1754) 2020-09-29 13:18:29 -07:00