Skip to content

Commit

Permalink
cmd/govulncheck/integration: adjust k8s expectations
Browse files Browse the repository at this point in the history
Due to a withdrawn containerd vuln.

Change-Id: I5734ea3a4336be6550d557753b980953a7ece49b
Reviewed-on: https://go-review.googlesource.com/c/vuln/+/597315
Reviewed-by: Maceo Thompson <maceothompson@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Zvonimir Pavlinovic <zpavlinovic@google.com>
  • Loading branch information
zpavlinovic authored and gopherbot committed Jul 9, 2024
1 parent 684f5c9 commit f94421b
Showing 1 changed file with 15 additions and 24 deletions.
39 changes: 15 additions & 24 deletions cmd/govulncheck/integration/k8s/k8s.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,30 +23,21 @@ func main() {
out := os.Args[1]

want := map[string]bool{
"github.com/containerd/containerd/api/services/containers/v1": true,
"github.com/containerd/containerd/api/services/tasks/v1": true,
"github.com/containerd/containerd/api/services/version/v1": true,
"github.com/containerd/containerd/api/types": true,
"github.com/containerd/containerd/api/types/task": true,
"github.com/containerd/containerd/containers": true,
"github.com/containerd/containerd/dialer": true,
"github.com/containerd/containerd/errdefs": true,
"github.com/containerd/containerd/namespaces": true,
"github.com/containernetworking/cni/pkg/invoke": true,
"github.com/evanphx/json-patch": true,
"github.com/heketi/heketi/client/api/go-client": true,
"github.com/heketi/heketi/pkg/glusterfs/api": true,
"github.com/heketi/heketi/pkg/utils": true,
"github.com/opencontainers/selinux/go-selinux": true,
"github.com/prometheus/client_golang/prometheus/promhttp": true,
"golang.org/x/crypto/cryptobyte": true,
"golang.org/x/crypto/salsa20/salsa": true,
"golang.org/x/crypto/ssh": true,
"golang.org/x/net/http/httpguts": true,
"golang.org/x/net/http2": true,
"golang.org/x/net/http2/hpack": true,
"golang.org/x/text/encoding/unicode": true,
"google.golang.org/grpc": true,
"github.com/containernetworking/cni/pkg/invoke": true,
"github.com/evanphx/json-patch": true,
"github.com/heketi/heketi/client/api/go-client": true,
"github.com/heketi/heketi/pkg/glusterfs/api": true,
"github.com/heketi/heketi/pkg/utils": true,
"github.com/opencontainers/selinux/go-selinux": true,
"github.com/prometheus/client_golang/prometheus/promhttp": true,
"golang.org/x/crypto/cryptobyte": true,
"golang.org/x/crypto/salsa20/salsa": true,
"golang.org/x/crypto/ssh": true,
"golang.org/x/net/http/httpguts": true,
"golang.org/x/net/http2": true,
"golang.org/x/net/http2/hpack": true,
"golang.org/x/text/encoding/unicode": true,
"google.golang.org/grpc": true,
}
if err := integration.CompareVulns(out, want); err != nil {
log.Fatal(err)
Expand Down

0 comments on commit f94421b

Please sign in to comment.