Commit dbdb4df5 authored by Matt Butcher's avatar Matt Butcher Committed by GitHub

Merge pull request #1075 from tmc/simplify_example_names

simplify example container names
parents 3d2348c3 01529001
...@@ -483,7 +483,7 @@ spec: ...@@ -483,7 +483,7 @@ spec:
spec: spec:
restartPolicy: Never restartPolicy: Never
containers: containers:
- name: {{template "fullname" .}}-job - name: post-install-job
image: "alpine:3.3" image: "alpine:3.3"
command: ["/bin/sleep","{{default "10" .Values.sleepyTime}}"] command: ["/bin/sleep","{{default "10" .Values.sleepyTime}}"]
......
...@@ -23,7 +23,7 @@ spec: ...@@ -23,7 +23,7 @@ spec:
release: {{.Release.Name | quote }} release: {{.Release.Name | quote }}
spec: spec:
containers: containers:
- name: {{template "fullname" .}} - name: nginx
# Making image configurable is not necessary. Making imageTag configurable # Making image configurable is not necessary. Making imageTag configurable
# is a nice option for the user. Especially in the strange cases like # 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 # nginx where the base distro is determined by the tag. Using :latest
......
...@@ -25,7 +25,7 @@ spec: ...@@ -25,7 +25,7 @@ spec:
# more conventional syntax: {{.restartPolicy | default "Never"}} # more conventional syntax: {{.restartPolicy | default "Never"}}
restartPolicy: Never restartPolicy: Never
containers: containers:
- name: {{template "fullname" .}}-job - name: post-install-job
image: "alpine:3.3" image: "alpine:3.3"
# All we're going to do is sleep for a minute, then exit. # All we're going to do is sleep for a minute, then exit.
command: ["/bin/sleep","{{default "10" .Values.sleepyTime}}"] 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