diff --git a/charts/mcp-stack/templates/service-mcp.yaml b/charts/mcp-stack/templates/service-mcp.yaml index ad91ce6f58..5c0669a896 100644 --- a/charts/mcp-stack/templates/service-mcp.yaml +++ b/charts/mcp-stack/templates/service-mcp.yaml @@ -4,6 +4,10 @@ metadata: name: {{ include "mcp-stack.fullname" . }}-mcpgateway labels: {{- include "mcp-stack.labels" . | nindent 4 }} + {{- with .Values.mcpContextForge.service.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} spec: type: {{ .Values.mcpContextForge.service.type }} selector: diff --git a/charts/mcp-stack/values.schema.json b/charts/mcp-stack/values.schema.json index f50363e5d6..62d12aafe1 100644 --- a/charts/mcp-stack/values.schema.json +++ b/charts/mcp-stack/values.schema.json @@ -217,6 +217,14 @@ "minimum": 1, "maximum": 65535, "default": 80 + }, + "annotations": { + "type": "object", + "description": "Service annotations (e.g., for AWS NLB, GCP load balancer configuration)", + "additionalProperties": { + "type": "string" + }, + "default": {} } }, "additionalProperties": false @@ -498,7 +506,7 @@ "CACHE_TYPE": { "type": "string", "description": "Cache backend type", - "enum": ["redis", "memory", "database"], + "enum": ["redis", "memory", "none", "database"], "default": "redis" }, "CACHE_PREFIX": { diff --git a/charts/mcp-stack/values.yaml b/charts/mcp-stack/values.yaml index a2e106dac5..7f3082e2a8 100644 --- a/charts/mcp-stack/values.yaml +++ b/charts/mcp-stack/values.yaml @@ -62,6 +62,7 @@ mcpContextForge: service: type: ClusterIP port: 80 # external port → containerPort below + annotations: {} # Service annotations (e.g., for AWS NLB configuration) containerPort: 4444 # port the app listens on inside the pod