Giter Site home page Giter Site logo

Comments (6)

k8s-ci-robot avatar k8s-ci-robot commented on August 18, 2024

This issue is currently awaiting triage.

If the repository mantainers determine this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

from cloud-provider-gcp.

aojea avatar aojea commented on August 18, 2024

The client-go dependency is particularly painful because it doesn't follow semantic versioning and there are occasionally breaking changes across minor version bumps.

Can you give me an example when this happened?

Client-go may have bugs but breaking changes should not be normal?

to use their own client

Which client is this? Just curious

from cloud-provider-gcp.

akhilles avatar akhilles commented on August 18, 2024

Can you give me an example when this happened?

kubernetes-sigs/controller-runtime#2222. This required controller-runtime to be updated (cilium/cilium@3828143), which ended up being a significant change.

Which client is this? Just curious

For our use-case, just an older version of client-go. I was also thinking of controller-runtime client (https://pkg.go.dev/sigs.k8s.io/controller-runtime/pkg/client) but I guess it just uses client-go under the hood.

from cloud-provider-gcp.

aojea avatar aojea commented on August 18, 2024

Having a Go module specifically for the CRD types would eliminate client-go as a dependency and reduce some of the dependency hell.

client-go is a dependency and is always going to be, a common mistake is leaving it pinned in an older versions, this is accidentally incentivizing doing the right thing, that is keeping the dependencies up to date

from cloud-provider-gcp.

akhilles avatar akhilles commented on August 18, 2024

Ack, this was mainly an issue because we were introducing new dependencies (on k8s 1.27 libs) to older stable branches (on k8s 1.25 libs). We have a workaround for now, and a strategy for avoiding this situation going forward. So, I think we can close this for now.

from cloud-provider-gcp.

aojea avatar aojea commented on August 18, 2024

if this turns out to be more problematic we'll revisit

from cloud-provider-gcp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.