Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if .Values.kagent.enabled }}
{{- if and .Values.kagent.enabled (include "agentic-platform.ingress.agentgateway" .) }}
{{- $ns := .Values.kagent.namespaceOverride | default .Release.Namespace }}
{{- range $name, $cfg := .Values.agents.definitions }}
{{- $agent := merge (dict "name" $name) $cfg }}
Expand Down Expand Up @@ -59,31 +59,6 @@ spec:
- name: {{ $agent.name | quote }}
kind: AgentgatewayBackend
group: agentgateway.dev
{{- if and $.Values.ingress.parentRefs $route.hostname }}
---
# HTTPRoute — exposes {{ $agent.name }} on the outer public Gateway (TLS-terminating).
# No URLRewrite: the prefix strip happens at the inner agentgateway hop.
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: {{ printf "%s-public" $agent.name | quote }}
namespace: {{ $.Release.Namespace }}
labels:
{{- include "labels.common" $ | nindent 4 }}
spec:
parentRefs:
{{- toYaml $.Values.ingress.parentRefs | nindent 4 }}
hostnames:
- {{ $route.hostname | quote }}
rules:
- matches:
- path:
type: PathPrefix
value: {{ $pathPrefix }}
backendRefs:
- name: {{ $.Values.gateway.name }}
port: 8080
{{- end }}
{{- end }}
{{- end }}
{{- end }}
9 changes: 5 additions & 4 deletions helm/agentic-platform-connectivity/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -793,11 +793,12 @@ agents:
namespace: mcp-kubernetes
# Agentgateway route — exposes this agent's A2A endpoint at /agents/<name>
# on the agentgateway inner Gateway (agentgateway-* ingress modes only).
# Rendered automatically when the agent is enabled; set hostname to the
# agentgateway Gateway hostname. Set ingress.parentRefs to also create
# the public HTTPRoute on the outer TLS-terminating Gateway.
# Rendered automatically when the agent is enabled. Only in-cluster callers
# (other agents, the kagent controller) are expected to use this path; no
# public outer HTTPRoute is created. Use extraObjects for external A2A access.
agentgatewayRoute:
# Hostname on which the agentgateway Gateway will match /agents/<name>.
# Optional: scope the inner HTTPRoute to a specific hostname on the
# agentgateway Gateway. Leave empty to match all hostnames.
# Example: agentgateway.<cluster>.<base-domain>
hostname: ""

Expand Down