Skip to content

Commit

Permalink
Use cp-kafka.fullname for nodeport service name
Browse files Browse the repository at this point in the history
  • Loading branch information
mandrean authored Mar 26, 2019
1 parent f34f727 commit 2f64c11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/cp-kafka/templates/nodeport-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
apiVersion: v1
kind: Service
metadata:
name: {{ $root.Release.Name }}-{{ $i }}-nodeport
name: {{ template "cp-kafka.fullname" $root }}-{{ $i }}-nodeport
labels:
app: {{ include "cp-kafka.name" $root }}
chart: {{ template "cp-kafka.chart" $root }}
Expand All @@ -30,4 +30,4 @@ spec:
release: {{ $root.Release.Name }}
statefulset.kubernetes.io/pod-name: {{ $responsiblePod | quote }}
{{- end }}
{{- end }}
{{- end }}

0 comments on commit 2f64c11

Please sign in to comment.