mirror of
https://github.com/shadoll/helm-charts.git
synced 2026-10-12 21:59:18 +00:00
MCP server exposing a Node-RED instance's admin API as agent tools. Single Deployment + Service + Ingress, image tracked off the upstream releases -- the tags are v-prefixed but the ghcr image tags are not, hence the version-pattern. MCP_HTTP_TOKEN is required rather than optional: upstream's listener binds all container interfaces, so there is no loopback-trust mode. The chart therefore requires existingSecret instead of defaulting it away. readOnly defaults on, so an agent cannot deploy flows by accident. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
28 lines
619 B
YAML
28 lines
619 B
YAML
{{- range $name, $config := .Values.ingresses }}
|
|
---
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: {{ $.Release.Name }}-{{ $name }}
|
|
{{- with $config.annotations }}
|
|
annotations:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
spec:
|
|
rules:
|
|
- host: {{ $config.host }}
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: {{ $.Release.Name }}
|
|
port:
|
|
number: {{ $.Values.service.port }}
|
|
{{- with $config.tls }}
|
|
tls:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
{{- end }}
|