added chart
This commit is contained in:
parent
537e43a9f4
commit
f94c26e29b
17 changed files with 542 additions and 0 deletions
24
charts/django-nginx-uwsgi/0.4.4/templates/_helpers.tpl
Normal file
24
charts/django-nginx-uwsgi/0.4.4/templates/_helpers.tpl
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{{/* 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 release name truncated at 63 chars.
|
||||
*/}}
|
||||
{{- define "releasename" -}}
|
||||
{{- printf "%s" .Release.Name | trunc 63 | trimSuffix "-" -}}
|
||||
{{- end -}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue