Commit fd950629 authored by Matt Butcher's avatar Matt Butcher Committed by GitHub

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

bugfix(tiller): replace + with _ in "helm create" template Chart version
parents 6f77869d 4d5cf663
...@@ -97,7 +97,7 @@ kind: Deployment ...@@ -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 ...@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment