Install this version:
emerge -a =sys-cluster/gke-gcloud-auth-plugin-0.5.21
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =sys-cluster/gke-gcloud-auth-plugin-0.5.21
Or alternatively:
emerge --autounmask-write -a =sys-cluster/gke-gcloud-auth-plugin-0.5.21
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# Build timestamp of the gcloud component tarball, see "gke-gcloud-auth-plugin-linux-*"
# in https://dl.google.com/dl/cloudsdk/channels/rapid/components-2.json
BUILD_TS="20261030071842"
COMPONENT_URI="https://dl.google.com/dl/cloudsdk/channels/rapid/components/google-cloud-sdk-${PN}"
DESCRIPTION="kubectl credential plugin for Google Kubernetes Engine (GKE)"
HOMEPAGE="
https://cloud.google.com/kubernetes-engine/docs/how-to/cluster-access-for-kubectl
https://github.com/kubernetes/cloud-provider-gcp
"
SRC_URI="
amd64? ( ${COMPONENT_URI}-linux-x86_64-${BUILD_TS}.tar.gz -> ${P}-amd64.tar.gz )
arm64? ( ${COMPONENT_URI}-linux-arm-${BUILD_TS}.tar.gz -> ${P}-arm64.tar.gz )
"
S="${WORKDIR}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
QA_PREBUILT="usr/bin/${PN}"
src_install() {
dobin bin/${PN}
}