Commit 01529001 authored by Travis Cline's avatar Travis Cline

simplify example container names

This encourages people from making container names depend on release
names.
parent 3d2348c3
......@@ -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}}"]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment