|
|
@ -3,13 +3,23 @@ kind: Pod
|
|
|
|
metadata:
|
|
|
|
metadata:
|
|
|
|
name: {{.Release.Name}}-{{.Chart.Name}}
|
|
|
|
name: {{.Release.Name}}-{{.Chart.Name}}
|
|
|
|
labels:
|
|
|
|
labels:
|
|
|
|
|
|
|
|
# The "heritage" label is used to track which tool deployed a given chart.
|
|
|
|
|
|
|
|
# It is useful for admins who want to see what releases a particular tool
|
|
|
|
|
|
|
|
# is responsible for.
|
|
|
|
heritage: {{.Release.Service}}
|
|
|
|
heritage: {{.Release.Service}}
|
|
|
|
chartName: {{.Chart.Name}}
|
|
|
|
# The "release" convention makes it easy to tie a release to all of the
|
|
|
|
chartVersion: {{.Chart.Version | quote}}
|
|
|
|
# Kubernetes resources that were created as part of that release.
|
|
|
|
|
|
|
|
release: {{.Release.Name}}
|
|
|
|
|
|
|
|
# This makes it easy to audit chart usage.
|
|
|
|
|
|
|
|
chart: {{.Chart.Name}}-{{.Chart.Version}}
|
|
|
|
annotations:
|
|
|
|
annotations:
|
|
|
|
"helm.sh/created": "{{.Release.Time.Seconds}}"
|
|
|
|
"helm.sh/created": "{{.Release.Time.Seconds}}"
|
|
|
|
spec:
|
|
|
|
spec:
|
|
|
|
restartPolicy: {{default "Never" .restart_policy}}
|
|
|
|
# This shows how to use a simple value. This will look for a passed-in value
|
|
|
|
|
|
|
|
# called restartPolicy. If it is not found, it will use the default value.
|
|
|
|
|
|
|
|
# {{default "Never" .restartPolicy}} is a slightly optimized version of the
|
|
|
|
|
|
|
|
# more conventional syntax: {{.restartPolicy | default "Never"}}
|
|
|
|
|
|
|
|
restartPolicy: {{default "Never" .restartPolicy}}
|
|
|
|
containers:
|
|
|
|
containers:
|
|
|
|
- name: waiter
|
|
|
|
- name: waiter
|
|
|
|
image: "alpine:3.3"
|
|
|
|
image: "alpine:3.3"
|
|
|
|