Skip to content

Can build with k8s.io/api v0.34.3 but not with v0.35.0 #1652

@yardenshoham

Description

@yardenshoham

Describe the bug
When importing terratest it's impossible to depend on the latest Kubernetes version.

To Reproduce
Update go.mod Kubernetes dependencies to v0.35.0

Expected behavior
The build should pass

Nice to have

  • Terminal output
        github.com/gruntwork-io/terratest/modules/helm imports
        github.com/gruntwork-io/terratest/modules/k8s imports
        k8s.io/client-go/kubernetes imports
        k8s.io/client-go/kubernetes/typed/storagemigration/v1alpha1 imports
        k8s.io/api/storagemigration/v1alpha1: module k8s.io/api@latest found (v0.35.0), but does not contain package k8s.io/api/storagemigration/v1alpha1

Versions

  • Terratest version: 0.54.0
  • Environment details (Ubuntu 20.04, Windows 10, etc.): all environments

Additional context
This happened before, the last time a Kubernetes version bump occurred.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions