mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-04 23:35:11 -04:00
operator: reconcile kubernetesClusterVersion
This commit is contained in:
parent
8c5e41b865
commit
2700d5182b
19 changed files with 521 additions and 33 deletions
|
@ -93,6 +93,16 @@ func nodeMaintenanceSucceededPredicate() predicate.Predicate {
|
|||
}
|
||||
}
|
||||
|
||||
// joiningNodeDeletedPredicate checks if a joining node was deleted.
|
||||
func joiningNodeDeletedPredicate() predicate.Predicate {
|
||||
return predicate.Funcs{
|
||||
DeleteFunc: func(e event.DeleteEvent) bool {
|
||||
_, ok := e.Object.(*updatev1alpha1.JoiningNode)
|
||||
return ok
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
// findObjectsForScalingGroup requests a reconcile call for the node image referenced by a scaling group.
|
||||
func (r *NodeVersionReconciler) findObjectsForScalingGroup(rawScalingGroup client.Object) []reconcile.Request {
|
||||
scalingGroup := rawScalingGroup.(*updatev1alpha1.ScalingGroup)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue