Skip to content

A production-ready Helm chart implementing Kubernetes Gateway API resources (CRDs + configurations). Replace your Ingress – designed for use as either a primary deployment or reusable dependency.

License

Notifications You must be signed in to change notification settings

dev2prod-hub/gateway-api-chart

Repository files navigation

Gateway API Helm Chart 🚪⚡

CI Artifact Hub

Replace ingress to the next level with Gateway API Helm Chart. Gateway API is the successor to Ingress, providing a Kubernetes-native way to manage API gateways. Stop reinventing Ingress controllers. Start using the Kubernetes-native successor.

Why This Chart? 🌟

Provides opinionated yet flexible configurations for:

  • CRD management (an optional installation)
  • GatewayClass templates (cloud-agnostic or provider-specific)
  • Gateway declarations with TLS/HTTPS best practices
  • HTTPRoute configurations with path-based routing
  • GRPCRoute configurations with service-based routing
  • TCPRoute configurations with port-based routing
  • UDPRoute configurations with port-based routing

Designed to be used either:

  • As your main chart for API gateway deployment
  • As a dependency/subchart in larger applications needing routing

Quick Start 🚀

Add repository

helm repo add dev2prod https://charts.dev2prod.xyz/
helm repo update
helm repo search dev2prod

To skip CRD installation, use the following command:

helm install my-gateway dev2prod/gateway-api \
  --version 0.1.0 \
  --skip-crds

Install gateway-api with CRDs

helm install my-gateway dev2prod/gateway-api \
  --version 0.1.0

Install gateway-api-routes

helm install routes dev2prod/gateway-api-routes \
  --version 0.1.0

Features 📦

✔️ CRD Management (an original CRDs from the kubernetes-sigs without any changes) ✔️ Split to 2 charts as a GW API main chart and routes chart

Configuration Example 🔧

gateway-api

# values.yaml
gatewayClass:
  name: envoy-gateway
  controller: "application-networking.k8s.aws/gateway-controller"

gateway:
  name: envoy-gateway
  listeners:
  - protocol: HTTPS
    port: 443
    tls:
      mode: Terminate
      certificateRefs:
      - name: mydomain-com-tls
        kind: Secret

gateway-api-routes

httpRoute:
  enabled: true
  items:
  - name: http-filter-redirect
    parentRefs:
    - name: redirect-gateway
      sectionName: http
    hostnames:
    - redirect.example
    rules:
    - filters:
      - type: RequestRedirect
        requestRedirect:
          scheme: https
          statusCode: 301
  - name: https-route
    parentRefs:
    - name: redirect-gateway
      sectionName: https
    hostnames:
    - redirect.example
    rules:
    - backendRefs:
      - name: example-svc
        port: 80

📚 Official References:

🔗 Related Projects:


Maintained with ❤️ by Dev2Prod. Licensed under Apache 2.0.

About

A production-ready Helm chart implementing Kubernetes Gateway API resources (CRDs + configurations). Replace your Ingress – designed for use as either a primary deployment or reusable dependency.

Resources

License

Stars

Watchers

Forks

Packages

No packages published