diff --git a/internal/resource/container.go b/internal/resource/container.go index 6fb3f2f..11ace3c 100644 --- a/internal/resource/container.go +++ b/internal/resource/container.go @@ -83,7 +83,7 @@ func NewContainer(containerClientApi ContainerClient) *Container { var apiClient ContainerClient = containerClientApi if apiClient == nil { var err error - apiClient, err = client.NewClientWithOpts(client.FromEnv) + apiClient, err = client.NewClientWithOpts(client.FromEnv, client.WithAPIVersionNegotiation()) if err != nil { panic(err) }