You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we rely on several initialization functions to set up reconcilers, webhooks, and manager-related resources. These functions accept numerous parameters—and in some cases, they directly inject them into the reconcilers. This approach, however, isn’t very ergonomic. Instead, we could generate configuration structs from the CLI and use them to propagate the configuration variables in a cleaner wa.
Currently, we rely on several initialization functions to set up reconcilers, webhooks, and manager-related resources. These functions accept numerous parameters—and in some cases, they directly inject them into the reconcilers. This approach, however, isn’t very ergonomic. Instead, we could generate configuration structs from the CLI and use them to propagate the configuration variables in a cleaner wa.
Setup Functions:
kubewarden-controller/cmd/main.go
Line 184 in a3ce83c
kubewarden-controller/cmd/main.go
Line 244 in a3ce83c
kubewarden-controller/cmd/main.go
Line 309 in a3ce83c
Example
The text was updated successfully, but these errors were encountered: