kubernetes / cloud-provider-gcp

cloud-provider-gcp contains several projects used to run Kubernetes in Google Cloud
Apache License 2.0
127 stars 211 forks source link

Release `gke-gcloud-auth-plugin` separately in this repo similar to how `aws-iam-authenticator` is released. #433

Open upodroid opened 1 year ago

upodroid commented 1 year ago

Installing gke-gcloud-auth-plugin is very hard(as in too many extra deps) today as you would need to install it either via apt or install the entire gcloud SDK as described here. https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke

The code lives in this repo, it shouldn't be hard to attach a goreleaser to it and release it.

https://github.com/kubernetes/cloud-provider-gcp/tree/master/cmd/gke-gcloud-auth-plugin

I need to add the binary to an alpine image and it is proving tricky as Google doesn't release all the goarchs that we need.

https://github.com/GoogleCloudPlatform/cloud-sdk-docker/blob/master/Dockerfile (for some reason, this is an amd64 image only 😒 )

https://packages.cloud.google.com/apt/dists/cloud-sdk-bullseye/main

https://github.com/kubernetes/test-infra/pull/28277 https://github.com/kubernetes/test-infra/issues/28142

https://issuetracker.google.com/issues/263033287

@aojea what do you think?

aojea commented 1 year ago

I'm not really familiar with the workflows in this repo and its constraints to publish binaries, maybe @mikedanese knows better?

BenTheElder commented 1 year ago

@aojea anyone else that might know?

sftim commented 1 year ago

/sig release

BenTheElder commented 1 year ago

I don't think this is in scope for SIG Release as an out of tree binary. Subprojects are responsible for their own releases.

BenTheElder commented 1 year ago

It's a bit early still but there are binaries uploaded to staging on postsubmit as of today. It needs more cleanup and then they can be promoted with file promoter hopefully.

Been following up with @ndixita and @aojea on this.

upodroid commented 1 year ago

@justinsb ^

k8s-triage-robot commented 10 months ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot commented 9 months ago

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

BenTheElder commented 9 months ago

/lifecycle frozen

BenTheElder commented 7 months ago

I lost track of exactly what happened here but I think these are being copied to staging at least.

The gap around advertising releases remains and is something I'm discussing with the involved teams.