mirror of
https://github.com/bitnami/charts.git
synced 2026-03-10 15:07:49 +08:00
Merge pull request #777 from bitnami/zookeeper_release_fix
Fix issue rendering zookeeper template
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
name: zookeeper
|
||||
version: 0.0.6
|
||||
version: 0.0.7
|
||||
appVersion: 3.4.12
|
||||
description: A centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services for distributed applications.
|
||||
keywords:
|
||||
|
||||
@@ -91,9 +91,10 @@ spec:
|
||||
{{- $replicaCount := int .Values.replicaCount }}
|
||||
{{- $followerPort := int .Values.service.followerPort }}
|
||||
{{- $electionPort := int .Values.service.electionPort }}
|
||||
{{- $releaseNamespace := .Release.Namespace }}
|
||||
{{- $zookeeperFullname := include "zookeeper.fullname" . }}
|
||||
{{- $zookeeperHeadlessServiceName := printf "%s-%s" $zookeeperFullname "headless" | trunc 24 }}
|
||||
value: {{range $i, $e := until $replicaCount }}{{ $zookeeperFullname }}-{{ $e }}.{{ $zookeeperHeadlessServiceName }}.{{ .Release.Namespace }}.svc.cluster.local:{{ $followerPort }}:{{ $electionPort }} {{ end }}
|
||||
value: {{range $i, $e := until $replicaCount }}{{ $zookeeperFullname }}-{{ $e }}.{{ $zookeeperHeadlessServiceName }}.{{ $releaseNamespace }}.svc.cluster.local:{{ $followerPort }}:{{ $electionPort }} {{ end }}
|
||||
{{- if .Values.auth.enabled }}
|
||||
- name: ZOO_ENABLE_AUTH
|
||||
value: "yes"
|
||||
|
||||
Reference in New Issue
Block a user