Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
fix(upgrade): Use a random generated name for upgrade job so it be up…
Browse files Browse the repository at this point in the history
…graded multiple times using helm
  • Loading branch information
kmala committed Dec 13, 2016
1 parent aa5b08c commit b3a9db1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions charts/workflow/templates/upgrade-job.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
apiVersion: batch/v1
kind: Job
metadata:
name: deis-upgrade
name: {{ randNumeric 12 | printf "%s-%s" "deis-upgrade"}}
labels:
heritage: deis
annotations:
"helm.sh/hook": post-upgrade
spec:
template:
metadata:
name: deis-upgrade
spec:
containers:
- name: deis-upgrade
Expand Down

0 comments on commit b3a9db1

Please sign in to comment.