Files
wlan-cloud-helm/tip-wlan/charts/zookeeper/templates/_helpers.tpl
Rahul Sharma 97005dcbf3 TW-207: Container/K8S Support for External Component: Kafka
- Added charts for Kafka and zookeeper
- Also updated opensync-mosquitto chart to be a Statefulset instead of deployment
2020-04-16 17:56:35 -04:00

21 lines
582 B
Smarty

{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "zookeeper.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
The name of the zookeeper headless service.
*/}}
{{- define "zookeeper.headless" -}}
{{- printf "%s-headless" (include "common.fullname" .) | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
The name of the zookeeper chroots job.
*/}}
{{- define "zookeeper.chroots" -}}
{{- printf "%s-chroots" (include "common.fullname" .) | trunc 63 | trimSuffix "-" -}}
{{- end -}}