[stable/magic-namespace] Fix secret bug (#13041)

This commit fixes a bug that erroneosly named the
secret based on the chart name, not the release fullname.

Also, removes the quote function from the storage param
passed to tiller, currently causing memory storage to be used by default

Signed-off-by: Ash Caire <ash.caire@gmail.com>
This commit is contained in:
Ash Caire
2019-05-08 09:58:36 -07:00
committed by Kubernetes Prow Robot
parent ad789a69d9
commit d095f272fd
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: magic-namespace
version: 0.5.0
version: 0.5.1
appVersion: 2.8.1
home: https://github.com/kubernetes/charts/tree/master/stable/magic-namespace
description: Elegantly enables a Tiller per namespace in RBAC-enabled clusters
@@ -38,6 +38,6 @@ Allow a custom secretName to be defined
{{- if .Values.tiller.tls.secretName -}}
{{- .Values.tiller.tls.secretName }}
{{- else -}}
{{- template "magic-namespace.chart" . }}-tiller-secret
{{- template "magic-namespace.fullname" . }}-tiller-secret
{{- end -}}
{{- end -}}
@@ -56,7 +56,7 @@ spec:
command:
- "/tiller"
{{- if .Values.tiller.storage }}
- --storage={{ .Values.tiller.storage | quote }}
- --storage={{ .Values.tiller.storage }}
{{- end }}
args: ["--listen=127.0.0.1:44134"]
{{- else }}