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
refactor(nodepool): deduplicate RHEL stream resolution across reconcile loop
Compute resolvedRHELStream once per reconcile and pass it to both
setPlatformConditions and NewConfigGenerator, eliminating redundant
calls to getRHELStreamForBootImage that each parse the release version
and scan ConfigMaps for runc detection.
Also fix remaining StreamRHEL9 hardcode in PowerVS platform and set
NodePoolValidPlatformImageType=False on stream resolution errors to
avoid stale conditions.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Juan Manuel Parrilla Madrid <jparrill@redhat.com>
// setPlatformConditions is a hook for platforms to implement custom logic/conditions freely
161
161
// TODO: refactor signature to be inline with the rest of condition setters, and move common conditions like NodePoolValidPlatformImageType to a separate function.
0 commit comments