Skip to content

release: v1.0.1 — enable kube and redis features for Linux builds#2

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
ci/enable-kube-redis-features
May 15, 2026
Merged

release: v1.0.1 — enable kube and redis features for Linux builds#2
ZhiXiao-Lin merged 1 commit into
mainfrom
ci/enable-kube-redis-features

Conversation

@ZhiXiao-Lin
Copy link
Copy Markdown
Contributor

Summary

  • Linux release builds now use --features kube,redis so ghcr.io images ship with Kubernetes Ingress Controller and Redis-backed rate limiting compiled in.
  • Bumps version to v1.0.1.

Background

Deploying ghcr.io/a3s-lab/gateway:1.0.0 to a Kubernetes cluster with a providers.kubernetes config block emits:

WARN: Kubernetes provider configured but the 'kube' feature is not enabled.
      Rebuild with `--features kube` to enable Kubernetes support.

Previously the release workflow ran cargo build --release without features, so the kube provider's optional kube and k8s-openapi deps were never linked into the published binary.

Changes

  • .github/workflows/release.yml: pass --features kube,redis to cargo build/cross build/cargo zigbuild for Linux targets only. macOS targets keep default features.
  • CHANGELOG.md: add v1.0.1 section documenting the fix.
  • Cargo.toml / Cargo.lock: bump version 1.0.0 → 1.0.1.

Test plan

  • Local: cargo check -p a3s-gateway --features kube,redis passes
  • CI: tag v1.0.1 will trigger the release workflow once this is merged
  • Verify ghcr.io image: docker run --rm ghcr.io/a3s-lab/gateway:1.0.1-amd64 --version and confirm no "kube feature not enabled" warning when given a kubernetes provider config

🤖 Generated with Claude Code

Linux release binaries and OCI images now ship with kube + redis
features built in, so ghcr.io/a3s-lab/gateway can be used directly
as a Kubernetes Ingress Controller without rebuilding.
@ZhiXiao-Lin ZhiXiao-Lin merged commit 3fdad48 into main May 15, 2026
5 of 6 checks passed
@ZhiXiao-Lin ZhiXiao-Lin deleted the ci/enable-kube-redis-features branch May 15, 2026 13:22
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.

1 participant