Skip to content

Commit

Permalink
added elasticsearch env var to api container
Browse files Browse the repository at this point in the history
  • Loading branch information
sharepointoscar committed Jan 21, 2020
1 parent 8bed176 commit 4712786
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/cars-rest-api/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 4712786

Please sign in to comment.