Fix helm upgrade on grafana helm chart (#3373)

* Update job.yaml

Without those annotation, helm upgrade fails because of :
https://github.com/kubernetes/helm/issues/1769

* Increasing version number
This commit is contained in:
Omar Nahhas Sanchez
2018-01-27 10:04:31 -08:00
committed by k8s-ci-robot
parent e04cc34987
commit fb5850b873
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: grafana
version: 0.5.7
version: 0.5.8
description: The leading tool for querying and visualizing time series and metrics.
home: https://grafana.net
icon: https://raw.githubusercontent.com/grafana/grafana/master/public/img/logo_transparent_400x.png
+4
View File
@@ -2,6 +2,10 @@
apiVersion: batch/v1
kind: Job
metadata:
annotations:
"helm.sh/hook": post-install
"helm.sh/hook-weight": "-5"
"helm.sh/hook-delete-policy": hook-succeeded
labels:
app: {{ template "grafana.fullname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"