simplify example container names

This encourages people from making container names depend on release
names.
pull/1075/head
Travis Cline 8 years ago
parent 3d2348c331
commit 01529001ca

@ -483,7 +483,7 @@ spec:
spec:
restartPolicy: Never
containers:
- name: {{template "fullname" .}}-job
- name: post-install-job
image: "alpine:3.3"
command: ["/bin/sleep","{{default "10" .Values.sleepyTime}}"]

@ -23,7 +23,7 @@ spec:
release: {{.Release.Name | quote }}
spec:
containers:
- name: {{template "fullname" .}}
- name: nginx
# Making image configurable is not necessary. Making imageTag configurable
# is a nice option for the user. Especially in the strange cases like
# nginx where the base distro is determined by the tag. Using :latest

@ -25,7 +25,7 @@ spec:
# more conventional syntax: {{.restartPolicy | default "Never"}}
restartPolicy: Never
containers:
- name: {{template "fullname" .}}-job
- name: post-install-job
image: "alpine:3.3"
# All we're going to do is sleep for a minute, then exit.
command: ["/bin/sleep","{{default "10" .Values.sleepyTime}}"]

Loading…
Cancel
Save