moby / vpnkit

A toolkit for embedding VPN capabilities in your application
Apache License 2.0
1.09k stars 182 forks source link

Updating Kubernetes to a later version #608

Open eclipseo opened 1 year ago

eclipseo commented 1 year ago

In Linux distribution, we are mostly packaging unbundled libraries. Vpnkit presents a challenge because it uses a very old (2017) K8S stack, which causes compatibility issues like:

# github.com/moby/vpnkit/go/pkg/controller [github.com/moby/vpnkit/go/pkg/controller.test]
./controller.go:129:68: not enough arguments in call to c.services.Services(service.Namespace).UpdateStatus
        have (*"k8s.io/api/core/v1".Service)
        want (context.Context, *"k8s.io/api/core/v1".Service, "k8s.io/apimachinery/pkg/apis/meta/v1".UpdateOptions)
FAIL    github.com/moby/vpnkit/go/pkg/controller [build failed]

Would it be possible to update vpnkit to a more recent K8S stack?