From 9f6323dd90f47e4ee64a88abbb3d0f073894e0df Mon Sep 17 00:00:00 2001 From: Karol Chrapek Date: Wed, 13 Jun 2018 21:06:28 +0200 Subject: [PATCH] Correct default zookeeper host to be compatible with zk charts (#5824) --- incubator/patroni/Chart.yaml | 2 +- incubator/patroni/templates/statefulset-patroni.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/incubator/patroni/Chart.yaml b/incubator/patroni/Chart.yaml index 48a4d6e7d9..42a007268f 100644 --- a/incubator/patroni/Chart.yaml +++ b/incubator/patroni/Chart.yaml @@ -1,6 +1,6 @@ name: patroni description: 'Highly available elephant herd: HA PostgreSQL cluster.' -version: 0.8.0 +version: 0.8.1 appVersion: 1.4-p7 home: https://github.com/zalando/patroni sources: diff --git a/incubator/patroni/templates/statefulset-patroni.yaml b/incubator/patroni/templates/statefulset-patroni.yaml index 3d189035f3..136ce68f8d 100644 --- a/incubator/patroni/templates/statefulset-patroni.yaml +++ b/incubator/patroni/templates/statefulset-patroni.yaml @@ -53,7 +53,7 @@ spec: {{- else if .Values.zookeeper.enable }} {{- if .Values.zookeeper.deployChart }} - name: ZOOKEEPER_HOSTS - value: {{(printf "'zk-%s-headless:2181'" .Release.Name | trunc 63)}} + value: {{(printf "'%s-zookeeper-headless:2181'" .Release.Name | trunc 63)}} {{- else }} - name: ZOOKEEPER_HOSTS value: {{ .Values.zookeeper.hosts | quote }}