X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=kubernetes%2Faai%2Ftemplates%2Felasticsearch-deployment.yaml;h=1fc92addfc721039ee3ce2509ce4b5c423a4184e;hb=8b3bc5a611778dd0bcd5aee794f062f385774797;hp=1c2a2ad57b0a8f00418315bf9fca68b902f5146c;hpb=b2243d375665d38db86fd2888ce64acb01b73567;p=oom.git diff --git a/kubernetes/aai/templates/elasticsearch-deployment.yaml b/kubernetes/aai/templates/elasticsearch-deployment.yaml index 1c2a2ad57b..1fc92addfc 100644 --- a/kubernetes/aai/templates/elasticsearch-deployment.yaml +++ b/kubernetes/aai/templates/elasticsearch-deployment.yaml @@ -26,11 +26,17 @@ spec: initialDelaySeconds: 5 periodSeconds: 10 volumeMounts: + - name: localtime + mountPath: /etc/localtime + readOnly: true - name: elasticsearch-config mountPath: /usr/share/elasticsearch/config/elasticsearch.yml - name: elasticsearch-data mountPath: /usr/share/elasticsearch/data volumes: + - name: localtime + hostPath: + path: /etc/localtime - name: elasticsearch-config hostPath: path: "/dockerdata-nfs/{{ .Values.nsPrefix }}/aai/elasticsearch/config/elasticsearch.yml"