Skip to content

Commit

Permalink
hostedcluster: bubble up OldestKubeletVersion from HCP
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Hunt <[email protected]>
  • Loading branch information
haircommander committed Dec 2, 2024
1 parent b74e50a commit b1e7556
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -764,9 +764,12 @@ func (r *HostedClusterReconciler) reconcile(ctx context.Context, req ctrl.Reques
}
}

// Copy the platform status from the hostedcontrolplane
if hcp != nil {
// Copy the platform status from the hostedcontrolplane
hcluster.Status.Platform = hcp.Status.Platform

// Copy the oldestKubeletVersion status from the hostedcontrolplane
hcluster.Status.OldestKubeletVersion = hcp.Status.OldestKubeletVersion
}

// Copy the AWSDefaultSecurityGroupCreated condition from the hostedcontrolplane
Expand Down

0 comments on commit b1e7556

Please sign in to comment.