feat! add extraVolumes and Mounts for pulsar-manager (#535)
This commit is contained in:
parent
727e8c8b0d
commit
346c5cdcd4
@ -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
|
||||||
|
|||||||
@ -1361,6 +1361,8 @@ pulsar_manager:
|
|||||||
topologySpreadConstraints: []
|
topologySpreadConstraints: []
|
||||||
annotations: {}
|
annotations: {}
|
||||||
tolerations: []
|
tolerations: []
|
||||||
|
extraVolumes: []
|
||||||
|
extraVolumeMounts: []
|
||||||
gracePeriod: 30
|
gracePeriod: 30
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user