Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

🏷️ feat: Add Custom Deployment Labels and Annotations for Helm (#10076)

WhammyLeafcbd217efae45
diff --git a/helm/librechat/templates/deployment.yaml b/helm/librechat/templates/deployment.yaml
index 5dc28a0484..e046bc507a 100755
--- a/helm/librechat/templates/deployment.yaml
+++ b/helm/librechat/templates/deployment.yaml
@@ -4,6 +4,13 @@ metadata:
name: {{ include "librechat.fullname" $ }}
labels:
{{- include "librechat.labels" . | nindent 4 }}
+ {{- with .Values.deploymentLabels }}
+ {{- toYaml . | nindent 4 }}
+ {{- end }}
+ annotations:
+ {{- with .Values.deploymentAnnotations }}
+ {{- toYaml . | nindent 4 }}
+ {{- end }}
spec:
replicas: {{ .Values.replicaCount }}
{{- if .Values.updateStrategy }}
diff --git a/helm/librechat/values.yaml b/helm/librechat/values.yaml
index 7dacb1386b..2560535504 100755
--- a/helm/librechat/values.yaml
+++ b/helm/librechat/values.yaml
@@ -153,6 +153,8 @@ lifecycle: {}
podAnnotations: {}
podLabels: {}
+deploymentAnnotations: {}
+deploymentLabels: {}
podSecurityContext:
fsGroup: 2000