Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions pkg/controller/build/reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -1390,6 +1390,12 @@ func (b *buildReconciler) reconcilePoolChange(ctx context.Context, mcp *mcfgv1.M
// In both cases, we need to create/continue a build
missingAnnotation := firstOptIn == ""

// No action needed if the rendered config has not changed.
if oldRendered == newRendered && !missingAnnotation {
klog.V(4).Infof("pool %q: Configuration unchanged (%s), no action needed", mcp.Name, oldRendered)
return nil
}
Comment thread
coderabbitai[bot] marked this conversation as resolved.

// This is our trigger point
// Create/continue a build if:
// 1. Config changed AND needs image rebuild, OR
Expand Down