From c1b804c184f573ca9bd6362c28286bc255681061 Mon Sep 17 00:00:00 2001 From: Chris Doan Date: Sun, 22 Mar 2026 14:47:25 -0500 Subject: [PATCH] ROSAENG-133 - feat: add extraVolumes and extraVolumeMounts support to Helm chart Adds configuration options to inject custom volumes and volume mounts into the Sentinel deployment, enabling users to mount additional ConfigMaps, Secrets, or other volume types as needed. Co-Authored-By: Claude Sonnet 4.5 --- charts/templates/deployment.yaml | 6 ++++++ charts/values.yaml | 10 ++++++++++ 2 files changed, 16 insertions(+) diff --git a/charts/templates/deployment.yaml b/charts/templates/deployment.yaml index e279bd7..d30938f 100644 --- a/charts/templates/deployment.yaml +++ b/charts/templates/deployment.yaml @@ -87,6 +87,9 @@ spec: mountPath: /etc/sentinel/broker.yaml subPath: broker.yaml readOnly: true + {{- with .Values.extraVolumeMounts }} + {{- toYaml . | nindent 10 }} + {{- end }} resources: {{- toYaml .Values.resources | nindent 12 }} volumes: @@ -96,6 +99,9 @@ spec: - name: broker-config configMap: name: {{ include "sentinel.fullname" . }}-broker-config + {{- with .Values.extraVolumes }} + {{- toYaml . | nindent 8 }} + {{- end }} {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/charts/values.yaml b/charts/values.yaml index de639a9..95296cb 100644 --- a/charts/values.yaml +++ b/charts/values.yaml @@ -68,6 +68,16 @@ tolerations: [] # Affinity affinity: {} +# Extra volumes to add to the pod +extraVolumes: [] +# - name: example-volume +# emptyDir: {} + +# Extra volume mounts to add to the container +extraVolumeMounts: [] +# - name: example-volume +# mountPath: /example + # PodDisruptionBudget configuration # See: https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget podDisruptionBudget: