mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-06-18 19:29:29 -04:00
deps: update K8s dependencies (#1599)
* deps: update K8s dependencies * deps: bump controller runtime * chore: tidy * bump helm and migrate controller runtime * fix helm deprecation --------- Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> Co-authored-by: Leonard Cohnen <lc@edgeless.systems>
This commit is contained in:
parent
81c9c5205c
commit
2afddcb0f8
25 changed files with 467 additions and 1773 deletions
|
@ -7,6 +7,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
package controllers
|
||||
|
||||
import (
|
||||
"context"
|
||||
"errors"
|
||||
"testing"
|
||||
|
||||
|
@ -249,7 +250,7 @@ func TestFindObjectsForScalingGroup(t *testing.T) {
|
|||
}
|
||||
assert := assert.New(t)
|
||||
reconciler := NodeVersionReconciler{}
|
||||
requests := reconciler.findObjectsForScalingGroup(&scalingGroup)
|
||||
requests := reconciler.findObjectsForScalingGroup(context.TODO(), &scalingGroup)
|
||||
assert.ElementsMatch(wantRequests, requests)
|
||||
}
|
||||
|
||||
|
@ -283,7 +284,7 @@ func TestFindAllNodeVersions(t *testing.T) {
|
|||
reconciler := NodeVersionReconciler{
|
||||
Client: newStubReaderClient(t, []runtime.Object{tc.nodeVersion}, nil, tc.listNodeVersionsErr),
|
||||
}
|
||||
requests := reconciler.findAllNodeVersions(nil)
|
||||
requests := reconciler.findAllNodeVersions(context.TODO(), nil)
|
||||
assert.ElementsMatch(tc.wantRequests, requests)
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue