cmd/buildx: non-functional k8s.io/client-go/plugin/pkg/client/auth/openstack

Kubernetes v1.26 removed the in-tree openstack cloud provider. While buildx
has a replace rule to pin the k8s dependencies to an older version, such
replace rules are non-transitive, which means that consumers of buildx as
a module could potentially end up with non-resolvable dependencies.

The used code was already non-functional since c41b006be1
(buildx v0.5.0-rc1);

https://github.com/docker/buildx/blob/a6b0959276cd4494eed8caabbc2656f9425f2c77/vendor/k8s.io/client-go/plugin/pkg/client/auth/openstack/openstack_stub.go#L26-L36

See:

- https://github.com/kubernetes/kubernetes/commit/9bbf01bae93600d3314bce0acbff1f3a0a42e74b
- https://github.com/kubernetes/client-go/commit/98e81a77843e9ef2ad5c98a6919e450028610631

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2023-05-22 13:01:54 +02:00
parent a6b0959276
commit b7e8afc61b
3 changed files with 0 additions and 38 deletions
-1
View File
@@ -21,7 +21,6 @@ import (
_ "k8s.io/client-go/plugin/pkg/client/auth/azure"
_ "k8s.io/client-go/plugin/pkg/client/auth/gcp"
_ "k8s.io/client-go/plugin/pkg/client/auth/oidc"
_ "k8s.io/client-go/plugin/pkg/client/auth/openstack"
_ "github.com/docker/buildx/driver/docker"
_ "github.com/docker/buildx/driver/docker-container"