mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
* 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
25 lines
797 B
Smarty
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 -}}
|