-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Gateway API support #203
Comments
@amalic Hi! Great improvement! But unfortunately, there are many options how to deploy the API Gateway. Are you sure that you want to give here the whole set of options to change? I managed to deploy zitadel with API Gateway with the next manifests: apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: zitadel-1
spec:
parentRefs:
- name: eg
namespace: envoy-gateway-system
hostnames:
- "34-88-17-164.sslip.io"
rules:
- backendRefs:
- group: ""
kind: Service
name: zitadel
port: 8080
weight: 1
matches:
- path:
type: PathPrefix
value: /zitadel.admin.v1.AdminService
- path:
type: PathPrefix
value: /admin
- path:
type: PathPrefix
value: /zitadel.auth.v1.AuthService
- path:
type: PathPrefix
value: /auth
- path:
type: PathPrefix
value: /zitadel.management.v1.ManagementService
- path:
type: PathPrefix
value: /management
- path:
type: PathPrefix
value: /zitadel.system.v1.SystemService
- path:
type: PathPrefix
value: /system
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: zitadel-2
spec:
parentRefs:
- name: eg
namespace: envoy-gateway-system
hostnames:
- "34-88-17-164.sslip.io"
rules:
- backendRefs:
- group: ""
kind: Service
name: zitadel
port: 8080
weight: 1
matches:
- path:
type: PathPrefix
value: /assets
- path:
type: PathPrefix
value: /ui
- path:
type: PathPrefix
value: /oidc
- path:
type: PathPrefix
value: /saml
- path:
type: PathPrefix
value: /.well-known/openid-configuration
- path:
type: PathPrefix
value: /openapi
- path:
type: PathPrefix
value: /debug
- path:
type: PathPrefix
value: /device
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: zitadel-3
spec:
parentRefs:
- name: eg
namespace: envoy-gateway-system
hostnames:
- "34-88-17-164.sslip.io"
rules:
- backendRefs:
- group: ""
kind: Service
name: zitadel
port: 8080
weight: 1
matches:
- path:
type: PathPrefix
value: /oauth |
That's definitely a more complex setup than throwing it on a subdomain with a single route to the service for sure. But the same criticism would be true of doing this with ingress resources instead of httproutes? |
You also can't assume that IMO, #207 is the best way to handle this. |
If you are using Cilium as a gateway API with experimental specs, it is probably as simple as an Ingress.
Gateway is standard, then use GRPCroute instead of HTTProute. My code is in Ansible:
|
FYI #207 to add extraManifests is released: https://github.com/zitadel/zitadel-charts/releases/tag/zitadel-8.7.0 |
Preflight Checklist
Describe your problem
I would like the chart do add an opton to use Gateway API, similar to Ingress.
Describe your ideal solution
values.yaml
Version
7.14.0
App version
2.51.2
Additional Context
I got a cluster running with Envoy Gateway, and would love if the Zitadel chart could support Gateway API in general.
The text was updated successfully, but these errors were encountered: