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

bugfix(tiller): replace + with _ in "helm create" template Chart version
pull/1819/head
Matt Butcher 8 years ago committed by GitHub
commit fd950629a3

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

Loading…
Cancel
Save