From c63225e040adda7b898163396d984a83741cdc3e Mon Sep 17 00:00:00 2001 From: Sebastien Plisson Date: Mon, 18 Feb 2019 15:32:07 -0800 Subject: [PATCH] fix #160 - use value of elasticsearch-operator.name to name the container --- charts/elasticsearch-operator/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/elasticsearch-operator/templates/deployment.yaml b/charts/elasticsearch-operator/templates/deployment.yaml index 725012f2b..fb79afbe7 100644 --- a/charts/elasticsearch-operator/templates/deployment.yaml +++ b/charts/elasticsearch-operator/templates/deployment.yaml @@ -15,7 +15,7 @@ spec: release: {{ .Release.Name }} spec: containers: - - name: {{ .Chart.Name }} + - name: {{ template "elasticsearch-operator.name" . }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" imagePullPolicy: {{ .Values.image.pullPolicy }} env: