Skip to content

[ANCHOR-1206] Add Gateway API support to helm charts - #1936

Merged
JiahuiWho merged 2 commits into
developfrom
anchor-1206-gateway-migration
May 14, 2026
Merged

JiahuiWho merged 2 commits into
developfrom
anchor-1206-gateway-migration

Conversation

@JiahuiWho

Copy link
Copy Markdown
Contributor

Description

Adds Gateway API (Gateway + HTTPRoute) support to all three Anchor Platform helm charts.

Context

Gateway Migration

Testing

  • ./gradlew test
  • helm lint passes for all three charts.
  • helm template with default. Ingress still emitted, no Gateway/HTTPRoute.
  • helm template with Gateway API enabled. renders match the shape in stellar/kube.
  • Server-side dry-run not available locally

Documentation

N/A

Known limitations

N/A

@JiahuiWho
JiahuiWho marked this pull request as ready for review May 13, 2026 16:39
Copilot AI review requested due to automatic review settings May 13, 2026 16:39

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds optional Kubernetes Gateway API (Gateway + HTTPRoute) resources to the Anchor Platform Helm charts so deployments can migrate away from (or run alongside) NGINX Ingress.

Changes:

  • Introduces httpRoute and optional httpRoute.gateway configuration blocks in each chart’s values.yaml.
  • Adds new templates/gateway.yaml + templates/httproute.yaml (or sepserver-*) resources gated by httpRoute.enabled.
  • Adds ingress.enabled (default true) and wraps existing ingress templates so Ingress can be disabled.

Reviewed changes

Copilot reviewed 15 out of 15 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
helm-charts/sep24-reference-ui/values.yaml Adds ingress.enabled and new httpRoute/gateway configuration defaults.
helm-charts/sep24-reference-ui/templates/ingress.yaml Wraps Ingress+ConfigMap rendering behind ingress.enabled.
helm-charts/sep24-reference-ui/templates/httproute.yaml Adds HTTPRoute template gated by httpRoute.enabled.
helm-charts/sep24-reference-ui/templates/gateway.yaml Adds optional Gateway template gated by httpRoute.enabled + httpRoute.gateway.enabled.
helm-charts/sep24-reference-ui/Chart.yaml Bumps chart version.
helm-charts/sep-service/values.yaml Adds ingress.enabled and new httpRoute/gateway configuration defaults.
helm-charts/sep-service/templates/sepserver-ingress.yaml Wraps SEP Ingress+ConfigMap rendering behind ingress.enabled.
helm-charts/sep-service/templates/sepserver-httproute.yaml Adds SEP HTTPRoute template gated by httpRoute.enabled.
helm-charts/sep-service/templates/sepserver-gateway.yaml Adds optional SEP Gateway template gated by httpRoute.enabled + httpRoute.gateway.enabled.
helm-charts/sep-service/Chart.yaml Bumps chart version.
helm-charts/reference-server/values.yaml Adds ingress.enabled and new httpRoute/gateway configuration defaults.
helm-charts/reference-server/templates/ingress.yaml Wraps Ingress+ConfigMap rendering behind ingress.enabled.
helm-charts/reference-server/templates/httproute.yaml Adds HTTPRoute template gated by httpRoute.enabled.
helm-charts/reference-server/templates/gateway.yaml Adds optional Gateway template gated by httpRoute.enabled + httpRoute.gateway.enabled.
helm-charts/reference-server/Chart.yaml Bumps chart version.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

enabled: false
parentRefs:
- name: sep24-reference-ui-gateway
namespace: "" # defaults to release namespace
@@ -1,3 +1,4 @@
{{- if .Values.ingress.enabled -}}
enabled: false
parentRefs:
- name: sep-gateway
namespace: "" # defaults to release namespace
@@ -1,3 +1,4 @@
{{- if .Values.ingress.enabled -}}
{{- toYaml .tls | nindent 8 }}
{{- end }}
{{- end }}
{{- end }} No newline at end of file
enabled: false
parentRefs:
- name: reference-server-gateway
namespace: "" # defaults to release namespace
@@ -1,3 +1,4 @@
{{- if .Values.ingress.enabled -}}
@JiahuiWho
JiahuiWho merged commit dc45f62 into develop May 14, 2026
11 checks passed
@JiahuiWho
JiahuiWho deleted the anchor-1206-gateway-migration branch May 14, 2026 15:04
amandagonsalves added a commit that referenced this pull request Jun 8, 2026
### Description

Merges `release/4.4.0` into `main` for the 4.4.0 release.

### Context

- **[ANCHOR-1215]** Fix SEP-12 IDOR via unvalidated customer `id` —
prevents cross-customer KYC disclosure and payout destination overwrite
(#1946)
- **[ANCHOR-1943]** Fix RPC observer DoS via malformed Soroban transfer
event (#1944)
- **[ANCHOR-1939]** Add per-client event isolation and ambiguous payment
routing safety (#1941, #1942)
- **[ANCHOR-1934]** Enforce single-use on SEP-38 quotes (#1935)
- **[ANCHOR-1206]** Add Gateway API support to Helm charts and carry
forward security headers (#1936, #1940)
- **[Chore]** Bump Soroban SDK from v22 to v26 (#1937)
- **[Chore]** Bump version to 4.4.0


[ANCHOR-1215]:
https://stellarorg.atlassian.net/browse/ANCHOR-1215?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[ANCHOR-1206]:
https://stellarorg.atlassian.net/browse/ANCHOR-1206?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
amandagonsalves added a commit that referenced this pull request Jun 8, 2026
### Description

Merges main into `develop` for the 4.4.0 release.

### Context

- **[ANCHOR-1215]** Fix SEP-12 IDOR via unvalidated customer `id` —
prevents cross-customer KYC disclosure and payout destination overwrite
(#1946)
- **[ANCHOR-1943]** Fix RPC observer DoS via malformed Soroban transfer
event (#1944)
- **[ANCHOR-1939]** Add per-client event isolation and ambiguous payment
routing safety (#1941, #1942)
- **[ANCHOR-1934]** Enforce single-use on SEP-38 quotes (#1935)
- **[ANCHOR-1206]** Add Gateway API support to Helm charts and carry
forward security headers (#1936, #1940)
- **[Chore]** Bump Soroban SDK from v22 to v26 (#1937)
- **[Chore]** Bump version to 4.4.0


[ANCHOR-1215]:
https://stellarorg.atlassian.net/browse/ANCHOR-1215?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[ANCHOR-1206]:
https://stellarorg.atlassian.net/browse/ANCHOR-1206?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
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.

3 participants