Merge pull request #1816 from lachie83/feat/1698-update-generated-chart-version

bugfix(tiller): replace + with _ in "helm create" template Chart version
This commit is contained in:
Matt Butcher 2017-01-11 15:41:30 -07:00 committed by GitHub
commit fd950629a3

View file

@ -97,7 +97,7 @@ kind: Deployment
metadata:
name: {{ template "fullname" . }}
labels:
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
spec:
replicas: {{ .Values.replicaCount }}
template:
@ -128,7 +128,7 @@ kind: Service
metadata:
name: {{ template "fullname" . }}
labels:
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
spec:
type: {{ .Values.service.type }}
ports: