-
Notifications
You must be signed in to change notification settings - Fork 58
Add AppWrapper v1beta2 CRD and controllers to Codeflare operator #543
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
Add AppWrapper v1beta2 CRD and controllers to Codeflare operator #543
Conversation
rebased to resolve conflict in Dockerfile |
a67dd1f
to
a940fa0
Compare
0dd33f7
to
143b507
Compare
@dgrove-oss Appwrapper instance creation is failing with below error
|
I make an additional adjustment to the startup logic so that the AppWrapper webhooks will be registered as soon as the certificates are ready if the operator config enables AppWrappers. However, the AppWrapper CRD is still installed unconditionally. If AppWrapper is disabled in the config, this will result in the user getting a cryptic error like:
when they create or edit an AppWrapper. If AppWrappers are enabled in the config, then you should see the following behavior (if Kueue is already installed on your cluster, only step 3 below is relevant).
|
To document the expectation, if AppWrappers are disabled in the config your log should look like this:
|
I made further adjustments. Now if AppWrappers are completely disabled by the config, we setup a webhook that generates an error when AppWrappers are created.
|
I've ported the e2e tests from #491 to this PR as well now. |
Define mock appwrapper webhooks to enable reasonable error messages for users when AppWrappers are disabled by configuration.
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: astefanutti The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
92e6eb5
into
project-codeflare:main
Replaces #491.
This assumes/includes #541.