7cd00042 by Adam Heath

Disable the embedded elasticsearch.

1 parent f412d168
...@@ -30,6 +30,9 @@ spec: ...@@ -30,6 +30,9 @@ spec:
30 serviceAccountName: {{ include "moqui.serviceAccountName" . }} 30 serviceAccountName: {{ include "moqui.serviceAccountName" . }}
31 securityContext: 31 securityContext:
32 {{- toYaml .Values.podSecurityContext | nindent 8 }} 32 {{- toYaml .Values.podSecurityContext | nindent 8 }}
33 volumes:
34 - name: disable-elasticsearch
35 emptyDir: {}
33 initContainers: 36 initContainers:
34 {{- if and (eq .Values.configMap.entity_ds_db_conf "postgres") (.Values.checkDsConnection.enabled) }} 37 {{- if and (eq .Values.configMap.entity_ds_db_conf "postgres") (.Values.checkDsConnection.enabled) }}
35 - name: postgresql-check-connection 38 - name: postgresql-check-connection
...@@ -81,6 +84,9 @@ spec: ...@@ -81,6 +84,9 @@ spec:
81 optional: false 84 optional: false
82 - name: elasticsearch_url 85 - name: elasticsearch_url
83 value: {{ include "moqui.opensearch-url" . }} 86 value: {{ include "moqui.opensearch-url" . }}
87 volumeMounts:
88 - mountPath: /opt/moqui/runtime/elasticsearch
89 name: disable-elasticsearch
84 90
85 ports: 91 ports:
86 - name: http-moqui 92 - name: http-moqui
......