Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Commit

Permalink
Update values file and added templates to both services
Browse files Browse the repository at this point in the history
The helm lint tests were failing because the httpPortName and transportPortName key value were missing from the values.yaml file. Also update both services to include the port name template.
  • Loading branch information
GreenKnight15 committed Sep 18, 2019
1 parent 9e0ddbb commit eb334d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions elasticsearch/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ spec:
selector:
app: "{{ template "uname" . }}"
ports:
- name: http
- name: {{ .Values.httpPortName | default "http" }}
port: {{ .Values.httpPort }}
- name: transport
- name: {{ .Values.transportPortName | default "transport" }}
port: {{ .Values.transportPort }}
2 changes: 2 additions & 0 deletions elasticsearch/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ service:
type: ClusterIP
nodePort:
annotations: {}
httpPortName: http
transportPort: transport

updateStrategy: RollingUpdate

Expand Down

0 comments on commit eb334d8

Please sign in to comment.