This is an automated email from the ASF dual-hosted git repository.

lhotari pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-helm-chart.git


The following commit(s) were added to refs/heads/master by this push:
     new 346c5cd  feat! add extraVolumes and Mounts for pulsar-manager (#535)
346c5cd is described below

commit 346c5cdcd49503f4419f819c05a772e3756bf0df
Author: lenglet-k <[email protected]>
AuthorDate: Tue Oct 8 14:00:00 2024 +0200

    feat! add extraVolumes and Mounts for pulsar-manager (#535)
---
 charts/pulsar/templates/pulsar-manager-statefulset.yaml | 6 ++++++
 charts/pulsar/values.yaml                               | 2 ++
 2 files changed, 8 insertions(+)

diff --git a/charts/pulsar/templates/pulsar-manager-statefulset.yaml 
b/charts/pulsar/templates/pulsar-manager-statefulset.yaml
index 609db7e..70e8a03 100755
--- a/charts/pulsar/templates/pulsar-manager-statefulset.yaml
+++ b/charts/pulsar/templates/pulsar-manager-statefulset.yaml
@@ -77,6 +77,9 @@ spec:
           volumeMounts:
           - name: "{{ template "pulsar.fullname" . }}-{{ 
.Values.pulsar_manager.component }}-{{ .Values.pulsar_manager.volumes.data.name 
}}"
             mountPath: /data
+          {{- if .Values.pulsar_manager.extraVolumeMounts }}
+{{ toYaml .Values.pulsar_manager.extraVolumeMounts | indent 10 }}
+          {{- end }}
         {{- if .Values.auth.authentication.enabled }}
         {{- if eq .Values.auth.authentication.provider "jwt" }}
           - name: pulsar-manager-keys
@@ -118,6 +121,9 @@ spec:
         {{- end }}          
         {{- include "pulsar.imagePullSecrets" . | nindent 6}}
       volumes:
+        {{- if .Values.pulsar_manager.extraVolumes }}
+{{ toYaml .Values.pulsar_manager.extraVolumes | indent 8 }}
+        {{- end }}
       {{- if .Values.auth.authentication.enabled }}
       {{- if eq .Values.auth.authentication.provider "jwt" }}
         - name: pulsar-manager-keys
diff --git a/charts/pulsar/values.yaml b/charts/pulsar/values.yaml
index 2b12cf7..2ccaed9 100755
--- a/charts/pulsar/values.yaml
+++ b/charts/pulsar/values.yaml
@@ -1361,6 +1361,8 @@ pulsar_manager:
   topologySpreadConstraints: []
   annotations: {}
   tolerations: []
+  extraVolumes: []
+  extraVolumeMounts: []
   gracePeriod: 30
   resources:
     requests:

Reply via email to