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: