diff options
Diffstat (limited to 'components/aai-elasticsearch/templates/deployment.yaml')
-rw-r--r-- | components/aai-elasticsearch/templates/deployment.yaml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/components/aai-elasticsearch/templates/deployment.yaml b/components/aai-elasticsearch/templates/deployment.yaml index 0c54738..3b8141c 100644 --- a/components/aai-elasticsearch/templates/deployment.yaml +++ b/components/aai-elasticsearch/templates/deployment.yaml @@ -60,7 +60,7 @@ spec: - name: elasticsearch-data mountPath: /logroot/ containers: - - name: {{ include "common.name" . }} + - name: {{ include "common.name" . }} image: "{{ .Values.global.loggingRepository }}/{{ .Values.image }}" imagePullPolicy: {{ .Values.pullPolicy | default .Values.global.pullPolicy }} ports: @@ -105,7 +105,6 @@ spec: affinity: {{ toYaml .Values.affinity | indent 8 }} {{- end }} - volumes: - name: localtime hostPath: @@ -114,8 +113,8 @@ spec: configMap: name: {{ include "common.fullname" . }}-es-config - name: elasticsearch-data - hostPath: - path: {{ .Values.persistence.mountPath }}/{{ .Release.Name }}/{{ .Values.persistence.mountSubPath }} + persistentVolumeClaim: + claimName: {{ include "common.fullname" . }}-data restartPolicy: {{ .Values.restartPolicy }} imagePullSecrets: - name: "{{ include "common.namespace" . }}-docker-registry-key" |