Files
deprecated-helm-charts/stable/gitlab-ce/templates/_helpers.tpl
T
Amanda Cameron ea61bb639b [stable/gitlab-ce] Update to the recommended pvc patterns. (#444)
* Convert chart gitlab-ce to use the recommended pvc patterns

* Update data-pvc.yaml

* Update etc-pvc.yaml

* Update Chart.yaml

* Update _helpers.tpl

* gitlab-ce: Update requirements

* update postgresql dependency

* gitlab-ce: Update to redis 0.4.3

* gitlab-ce: update requirements.lock for redis
2017-01-29 14:47:34 -08:00

33 lines
1.1 KiB
Smarty

{{/* vim: set filetype=mustache: */}}
{{/*
Expand the name of the chart.
*/}}
{{- define "name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
*/}}
{{- define "fullname" -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Create a default fully qualified postgresql name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
*/}}
{{- define "postgresql.fullname" -}}
{{- printf "%s-%s" .Release.Name "postgresql" | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Create a default fully qualified redis name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
*/}}
{{- define "redis.fullname" -}}
{{- printf "%s-%s" .Release.Name "redis" | trunc 63 | trimSuffix "-" -}}
{{- end -}}