Add Helm chart and Kubernetes deployment configuration for Redmine MCP

This commit is contained in:
sha
2026-03-20 16:40:23 +02:00
parent 315992c37a
commit 2ad020761e
8 changed files with 254 additions and 4 deletions
+36
View File
@@ -0,0 +1,36 @@
{{/*
Expand the name of the chart.
*/}}
{{- define "redmine-mcp.name" -}}
{{- .Chart.Name | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Common labels
*/}}
{{- define "redmine-mcp.labels" -}}
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version }}
app.kubernetes.io/name: {{ include "redmine-mcp.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}
{{/*
Selector labels
*/}}
{{- define "redmine-mcp.selectorLabels" -}}
app.kubernetes.io/name: {{ include "redmine-mcp.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}
{{/*
Name of the secret containing Redmine credentials
*/}}
{{- define "redmine-mcp.secretName" -}}
{{- if .Values.redmine.existingSecret -}}
{{ .Values.redmine.existingSecret }}
{{- else -}}
{{ include "redmine-mcp.name" . }}-credentials
{{- end }}
{{- end }}