Skip to content

Commit

Permalink
Merge pull request confluentinc#265 from mandrean/patch-3
Browse files Browse the repository at this point in the history
Use cp-kafka.fullname for Kafka broker nodeport-service name
  • Loading branch information
qshao-pivotal authored Apr 11, 2019
2 parents e17565c + 2f64c11 commit 45e9c89
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 45e9c89

Please sign in to comment.