Add chart version to job name (#516)

This commit is contained in:
Soam Vasani
2018-03-01 12:17:17 -08:00
committed by GitHub
parent 714f32d290
commit ca51a5fe4c
2 changed files with 2 additions and 2 deletions
@@ -2,7 +2,7 @@
apiVersion: batch/v1 apiVersion: batch/v1
kind: Job kind: Job
metadata: metadata:
name: {{ template "fullname" . }} name: {{ template "fullname" . }}-{{ .Chart.Version }}
labels: labels:
# The "release" convention makes it easy to tie a release to all of the # The "release" convention makes it easy to tie a release to all of the
# Kubernetes resources that were created as part of that release. # Kubernetes resources that were created as part of that release.
@@ -2,7 +2,7 @@
apiVersion: batch/v1 apiVersion: batch/v1
kind: Job kind: Job
metadata: metadata:
name: {{ template "fullname" . }} name: {{ template "fullname" . }}-{{ .Chart.Version }}
labels: labels:
# The "release" convention makes it easy to tie a release to all of the # The "release" convention makes it easy to tie a release to all of the
# Kubernetes resources that were created as part of that release. # Kubernetes resources that were created as part of that release.