mirror of
https://github.com/helm/helm.git
synced 2026-05-28 04:35:48 -04:00
simplify example container names
This encourages people from making container names depend on release names.
This commit is contained in:
parent
3d2348c331
commit
01529001ca
3 changed files with 3 additions and 3 deletions
|
|
@ -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…
Reference in a new issue