Skip to content

Commit

Permalink
Merge pull request #1318 from marquiz/devel/release-0.13-k8s-1.28
Browse files Browse the repository at this point in the history
[release-0.13] Bump kubernetes to v1.28.1
  • Loading branch information
k8s-ci-robot committed Aug 30, 2023
2 parents 5fda052 + 713fa91 commit 9be9259
Show file tree
Hide file tree
Showing 15 changed files with 787 additions and 661 deletions.
246 changes: 126 additions & 120 deletions go.mod

Large diffs are not rendered by default.

511 changes: 288 additions & 223 deletions go.sum

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions pkg/podres/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ limitations under the License.

package podres

//go:generate mockery --srcpkg=k8s.io/kubelet/pkg/apis/podresources/v1 --name PodResourcesListerClient

import (
"fmt"
"log"
Expand Down
78 changes: 0 additions & 78 deletions pkg/podres/mock_PodResourcesListerClient.go

This file was deleted.

132 changes: 132 additions & 0 deletions pkg/podres/mocks/PodResourcesListerClient.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions pkg/resourcemonitor/podresourcesscanner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import (
v1 "k8s.io/kubelet/pkg/apis/podresources/v1"

"sigs.k8s.io/node-feature-discovery/pkg/apihelper"
"sigs.k8s.io/node-feature-discovery/pkg/podres"
mockv1 "sigs.k8s.io/node-feature-discovery/pkg/podres/mocks"
)

func TestPodScanner(t *testing.T) {
Expand All @@ -54,7 +54,7 @@ func TestPodScanner(t *testing.T) {
}

Convey("When I scan for pod resources using fake client and no namespace", t, func() {
mockPodResClient := new(podres.MockPodResourcesListerClient)
mockPodResClient := new(mockv1.PodResourcesListerClient)
mockAPIHelper := new(apihelper.MockAPIHelpers)
mockClient := &k8sclient.Clientset{}
computePodFingerprint := true
Expand Down Expand Up @@ -676,7 +676,7 @@ func TestPodScanner(t *testing.T) {
})

Convey("When I scan for pod resources using fake client and given namespace", t, func() {
mockPodResClient := new(podres.MockPodResourcesListerClient)
mockPodResClient := new(mockv1.PodResourcesListerClient)
mockAPIHelper := new(apihelper.MockAPIHelpers)
mockClient := &k8sclient.Clientset{}
computePodFingerprint := false
Expand Down
Loading

0 comments on commit 9be9259

Please sign in to comment.