From 48503bacd1fb53edea643cc771b578c0c499ce9f Mon Sep 17 00:00:00 2001 From: Fabrizio Fortino Date: Fri, 4 Jan 2019 23:03:00 +0100 Subject: [PATCH] [incubator/zookeeper] fix headless service targetPort (#9630) * [incubator/zookeeper] fix headless service targetPort Signed-off-by: Fabrizio Fortino * [incubator/zookeeper] bump chart version Signed-off-by: Fabrizio Fortino --- incubator/zookeeper/Chart.yaml | 2 +- incubator/zookeeper/templates/service-headless.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/incubator/zookeeper/Chart.yaml b/incubator/zookeeper/Chart.yaml index c58087e099..16ee851716 100644 --- a/incubator/zookeeper/Chart.yaml +++ b/incubator/zookeeper/Chart.yaml @@ -1,6 +1,6 @@ name: zookeeper home: https://zookeeper.apache.org/ -version: 1.2.0 +version: 1.2.1 appVersion: 3.4.10 description: Centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services. diff --git a/incubator/zookeeper/templates/service-headless.yaml b/incubator/zookeeper/templates/service-headless.yaml index 4bf7a30f8f..57a7d9f412 100644 --- a/incubator/zookeeper/templates/service-headless.yaml +++ b/incubator/zookeeper/templates/service-headless.yaml @@ -17,7 +17,7 @@ spec: {{- range $key, $port := .Values.ports }} - name: {{ $key }} port: {{ $port.containerPort }} - targetPort: {{ $port.name }} + targetPort: {{ $key }} protocol: {{ $port.protocol }} {{- end }} selector: