Files
deprecated-helm-charts/stable/wordpress/templates/_helpers.tpl
T
Jorge Bianquetti ad5a4a0f73 [stable/wordpress] Allow helm chart to receive an existing database or create it by itself Open, HighAll Users (#773)
* Allow to the Wordpress helm chart to receive an existing database or create it by itself

* Allow to the Wordpress helm chart to receive an existing database or create it by itself

* added links to documentation for new env vars

* added changes with compatibility threats for  0.4.x chart series.  Bumping to 0.5.0

* added defaults for many values and fixes typos

* added defaults for many values and fixes typos

* fix typo

* cosmetic revision

* updated dependency on mariadb chart 0.5.10

* environment vars clean up

* Readme reformatting

* added changes with compatibility threats for  0.4.x chart series.  Bumping to 0.5.0

* added defaults for many values and fixes typos

* fix typo

* Allow to the Wordpress helm chart to receive an existing database or create it by itself

* added defaults for many values and fixes typos

* fix typo

* fixing default value in README for AllowEmptyPassword
2017-03-15 09:40:13 +00:00

25 lines
797 B
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 app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
*/}}
{{- define "mariadb.fullname" -}}
{{- printf "%s-%s" .Release.Name "mariadb" | trunc 63 | trimSuffix "-" -}}
{{- end -}}