-
Notifications
You must be signed in to change notification settings - Fork 208
kustomise doesn't work for admission controller webhook in preprogrammed mode #361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
From the first look it seems that region CRDs are missed in preprogrammed mode. I'll try to add them and test. |
@rojkov do we need region CRDs in preprogrammed mode? |
No, for the preprogrammed mode they are not needed. And if #358 gets merged the region CRDs will be needed only to facilitate the case of regions programmed by workloads (see |
if it's not needed why the webhook complains that they're not found?
|
The built-in controller that watches CRDs doesn't respect mode and wants to monitor AFs and FpgaRegions irrespective to the current mode:
|
Seems to work after adding region CRDs to the base kustomise yamls. I'll create PR for that. |
Webhook uses region CRDs even if run in preprogrammed mode. Adding them to the base configuration should fix this deployment error: Failed to list *v1.FpgaRegion: the server could not find the requested resource Fixes: intel#361
Steps to reproduce:
The text was updated successfully, but these errors were encountered: