diff --git a/charts/cars-rest-api/templates/deployment.yaml b/charts/cars-rest-api/templates/deployment.yaml index 7651d8a..f6b98bc 100755 --- a/charts/cars-rest-api/templates/deployment.yaml +++ b/charts/cars-rest-api/templates/deployment.yaml @@ -39,6 +39,8 @@ spec: value: {{.Values.env.MONGODB_ROOT_PASSWORD}} - name: MONGODB_DATABASE value: {{.Values.env.MONGODB_DATABASE}} + - name: ELASTICSEARCH_URL + value: {{ .Release.Name }}-elasticsearch-client:9200 ports: - containerPort: {{ .Values.service.internalPort }}