Skip to content

Conversation

lox
Copy link
Contributor

@lox lox commented Jun 16, 2025

Summary

  • Adds the official Google Cloud GKE authentication plugin for kubectl
  • Provides the gke-gcloud-auth-plugin binary that replaces legacy gcloud-based authentication for GKE clusters
  • Includes proper runtime dependency on gcloud and environment variable configuration

Test plan

  • Package validates successfully with hermit validate
  • Binary installs and runs (gke-gcloud-auth-plugin --version)
  • Package test passes (hermit test -t gke-gcloud-auth-plugin)
  • Executable permissions work correctly after installation
  • Environment variable USE_GKE_GCLOUD_AUTH_PLUGIN=True is set properly

lox added 2 commits June 16, 2025 12:36
Introduces the official Google Cloud GKE authentication plugin for kubectl.
This package provides the gke-gcloud-auth-plugin binary that replaces the
legacy gcloud-based authentication for GKE clusters.

Key features:
- Extracted from official Google Cloud SDK component archives
- Includes runtime dependency on gcloud
- Sets USE_GKE_GCLOUD_AUTH_PLUGIN=True environment variable
- Supports Linux and macOS (amd64/arm64)
- Proper executable permissions via chmod events
- Use correct version 0.5.10 from Google Cloud SDK components manifest
- Document auto-versioning challenges with JSON-only component manifest
- Keep proper checksums and URLs matching official component archives
- Add comments explaining versioning approach for future maintenance
- Found and added gke-gcloud-auth-plugin-linux-arm component from Google Cloud SDK manifest
- Added platform block for linux arm64 with proper source URL and chmod event
- Added corresponding SHA256 checksum for the Linux ARM component
- Package now supports all available platforms: Linux x86_64/ARM64, macOS x86_64/ARM64
@alecthomas alecthomas merged commit f7a4da5 into cashapp:master Jun 16, 2025
2 checks passed
@alecthomas
Copy link
Collaborator

Awesome, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants