diff options
author | 2020-05-09 01:43:08 +0200 | |
---|---|---|
committer | 2020-05-29 01:22:26 +0200 | |
commit | 305b209ee53c6b581ae0f0348d948366ecbf02b5 (patch) | |
tree | 74f59c49a5b194e910079ca2791d90a555a65df1 /kubernetes/common/elasticsearch/templates/coordinating-deploy.yaml | |
parent | c95b7f7b07eb99f5bdd1a908a3f387488c54b997 (diff) |
[COMMON] Use common aaf template in elasticsearch
Instead of copy-pasting code around aaf_agent usage let's use a common
template that automates this.
Issue-ID: AAF-1134
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Change-Id: I9b3c7aab73186c0bf1dfaa5fe21cf2f001ca8619
Diffstat (limited to 'kubernetes/common/elasticsearch/templates/coordinating-deploy.yaml')
-rw-r--r-- | kubernetes/common/elasticsearch/templates/coordinating-deploy.yaml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/kubernetes/common/elasticsearch/templates/coordinating-deploy.yaml b/kubernetes/common/elasticsearch/templates/coordinating-deploy.yaml index 65a7f462e1..1ab5b59855 100644 --- a/kubernetes/common/elasticsearch/templates/coordinating-deploy.yaml +++ b/kubernetes/common/elasticsearch/templates/coordinating-deploy.yaml @@ -61,7 +61,7 @@ spec: securityContext: privileged: true {{- end }} - {{ include "common.aaf-config" . | nindent 8}} + {{ include "common.certInitializer.initContainer" . | nindent 8 }} containers: - name: {{ include "common.name" . }}-nginx @@ -82,7 +82,7 @@ spec: - name: nginx-server-block mountPath: /opt/bitnami/nginx/conf/server_blocks {{- end }} - {{- include "common.aaf-config-volume-mountpath" . | nindent 10 }} + {{- include "common.certInitializer.volumeMount" . | nindent 10 }} - name: {{ include "common.name" . }}-elasticsearch image: {{ printf "%s/%s:%s" (include "common.repository" .) .Values.image.imageName .Values.image.tag }} @@ -163,5 +163,4 @@ spec: configMap: name: {{ include "common.fullname" . }}-nginx-server-block {{- end }} - {{- include "common.aaf-config-volumes" . | nindent 8}} - + {{ include "common.certInitializer.volumes" . | nindent 8 }} |