Skip to content

Commit

Permalink
Added headless service.
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardofroes committed Jan 13, 2022
1 parent c4f6bde commit ffc86b3
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,9 @@ kind: Service
metadata:
name: {{ .Service.name }}
spec:
{{ if .Values.service.type }}
type: {{ .Values.service.type }}
{{ end }}
clusterIP: {{ .Values.service.clusterIP }}
selector:
app: {{ .Release.Name }}-service
app: {{ .Service.name }}
ports:
{{- range $key, $val := .Values.service.targetPorts }}
- name: {{ $key }}
Expand Down

0 comments on commit ffc86b3

Please sign in to comment.