feat! add extraVolumes and Mounts for pulsar-manager (#535)

This commit is contained in:
lenglet-k 2024-10-08 14:00:00 +02:00 committed by GitHub
parent 727e8c8b0d
commit 346c5cdcd4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 0 deletions

View File

@ -77,6 +77,9 @@ spec:
volumeMounts: volumeMounts:
- name: "{{ template "pulsar.fullname" . }}-{{ .Values.pulsar_manager.component }}-{{ .Values.pulsar_manager.volumes.data.name }}" - name: "{{ template "pulsar.fullname" . }}-{{ .Values.pulsar_manager.component }}-{{ .Values.pulsar_manager.volumes.data.name }}"
mountPath: /data mountPath: /data
{{- if .Values.pulsar_manager.extraVolumeMounts }}
{{ toYaml .Values.pulsar_manager.extraVolumeMounts | indent 10 }}
{{- end }}
{{- if .Values.auth.authentication.enabled }} {{- if .Values.auth.authentication.enabled }}
{{- if eq .Values.auth.authentication.provider "jwt" }} {{- if eq .Values.auth.authentication.provider "jwt" }}
- name: pulsar-manager-keys - name: pulsar-manager-keys
@ -118,6 +121,9 @@ spec:
{{- end }} {{- end }}
{{- include "pulsar.imagePullSecrets" . | nindent 6}} {{- include "pulsar.imagePullSecrets" . | nindent 6}}
volumes: volumes:
{{- if .Values.pulsar_manager.extraVolumes }}
{{ toYaml .Values.pulsar_manager.extraVolumes | indent 8 }}
{{- end }}
{{- if .Values.auth.authentication.enabled }} {{- if .Values.auth.authentication.enabled }}
{{- if eq .Values.auth.authentication.provider "jwt" }} {{- if eq .Values.auth.authentication.provider "jwt" }}
- name: pulsar-manager-keys - name: pulsar-manager-keys

View File

@ -1361,6 +1361,8 @@ pulsar_manager:
topologySpreadConstraints: [] topologySpreadConstraints: []
annotations: {} annotations: {}
tolerations: [] tolerations: []
extraVolumes: []
extraVolumeMounts: []
gracePeriod: 30 gracePeriod: 30
resources: resources:
requests: requests: