Correct default zookeeper host to be compatible with zk charts (#5824)

This commit is contained in:
Karol Chrapek
2018-06-13 12:06:28 -07:00
committed by k8s-ci-robot
parent 247c852dfe
commit 9f6323dd90
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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:
@@ -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 }}