-
Notifications
You must be signed in to change notification settings - Fork 632
feat: substrate support for BYO and python runtimes for SandboxAgent CR #2043
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
base: main
Are you sure you want to change the base?
Changes from all commits
3aa6ab2
a97693c
d59dc85
dcd805f
a5d782c
5853617
53a9982
921bbfb
97c8d1e
226ca86
74795d2
6f38b38
884e3c5
b682d6f
785fa5d
7346f79
de1e828
80a43cc
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -79,7 +79,7 @@ func (r *SandboxAgentController) Reconcile(ctx context.Context, req ctrl.Request | |
| return ctrl.Result{}, fmt.Errorf("get SandboxAgent: %w", err) | ||
| } | ||
|
|
||
| if r.SubstrateLifecycle != nil { | ||
| if r.substrateConfigured() { | ||
| if res, err := r.reconcileSubstrateSandboxAgent(ctx, &sa); err != nil || !res.IsZero() { | ||
| return res, err | ||
| } | ||
|
|
@@ -108,7 +108,7 @@ func (r *SandboxAgentController) SetupWithManager(mgr ctrl.Manager) error { | |
| if err != nil { | ||
| return err | ||
| } | ||
| if r.SubstrateLifecycle != nil { | ||
| if r.substrateConfigured() { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we get rid of this
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it makes sense to separate this into a separate substrate controller, I can work on that as a follow up. |
||
| build = build.Watches( | ||
| &atev1alpha1.ActorTemplate{}, | ||
| handler.EnqueueRequestsFromMapFunc(r.enqueueSandboxAgentForSubstrateResource), | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.