Update k8s dependencies to v1.36 (main) (#979)

* Update k3s version in test suites to v1.36.2-k3s1

- Updated the k3sVersion and k3sOldVersion constants in both cli and e2e test suites to reflect the new version v1.36.2-k3s1 and the previous version v1.36.0-k3s1.

* updated README.md
This commit is contained in:
Enrico Candino
2026-07-08 15:58:06 +02:00
committed by GitHub
parent 9c82b68440
commit 3d0438edc9
14 changed files with 137 additions and 139 deletions
+3 -3
View File
@@ -52,7 +52,7 @@ func (c *ClusterReconciler) updateStatus(ctx context.Context, cluster *v1beta1.C
Message: reconcileErr.Error(),
})
c.Eventf(cluster, corev1.EventTypeWarning, ReasonValidationFailed, reconcileErr.Error())
c.Event(cluster, corev1.EventTypeWarning, ReasonValidationFailed, reconcileErr.Error())
return
}
@@ -79,7 +79,7 @@ func (c *ClusterReconciler) updateStatus(ctx context.Context, cluster *v1beta1.C
Message: reconcileErr.Error(),
})
c.Eventf(cluster, corev1.EventTypeWarning, ReasonProvisioningFailed, reconcileErr.Error())
c.Event(cluster, corev1.EventTypeWarning, ReasonProvisioningFailed, reconcileErr.Error())
return
}
@@ -95,7 +95,7 @@ func (c *ClusterReconciler) updateStatus(ctx context.Context, cluster *v1beta1.C
// Only emit event on transition to Ready
if !meta.IsStatusConditionPresentAndEqual(cluster.Status.Conditions, ConditionReady, metav1.ConditionTrue) {
c.Eventf(cluster, corev1.EventTypeNormal, ReasonProvisioned, newCondition.Message)
c.Event(cluster, corev1.EventTypeNormal, ReasonProvisioned, newCondition.Message)
}
meta.SetStatusCondition(&cluster.Status.Conditions, newCondition)