Merge "rabbitmq: set hostPath for rabbitmq-data"
This commit is contained in:
commit
b2f47aabb1
@ -247,8 +247,14 @@ spec:
|
||||
defaultMode: 0444
|
||||
{{- if not $envAll.Values.volume.enabled }}
|
||||
- name: rabbitmq-data
|
||||
{{- if .Values.volume.use_local_path.enabled }}
|
||||
hostPath:
|
||||
path: {{ .Values.volume.use_local_path.host_path }}
|
||||
type: DirectoryOrCreate
|
||||
{{- else }}
|
||||
emptyDir: {}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if $envAll.Values.volume.enabled }}
|
||||
volumeClaimTemplates:
|
||||
- metadata:
|
||||
|
@ -325,6 +325,9 @@ network_policy:
|
||||
- {}
|
||||
|
||||
volume:
|
||||
use_local_path:
|
||||
enabled: false
|
||||
host_path: /var/lib/rabbitmq
|
||||
chown_on_start: true
|
||||
enabled: true
|
||||
class_name: general
|
||||
|
Loading…
Reference in New Issue
Block a user