Fix chart name prefix when mongodb-replicaset TLS is enabled (#2866)

This commit is contained in:
Sascha Grunert
2017-11-28 21:35:13 +01:00
committed by Reinhard Nägele
parent d497820a25
commit c1655fd4fb
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
name: mongodb-replicaset
home: https://github.com/mongodb/mongo
version: 2.1.2
version: 2.1.3
description: NoSQL document-oriented database that stores JSON-like documents with
dynamic schemas, simplifying the integration of data in content-driven applications.
icon: https://webassets.mongodb.com/_com_assets/cms/mongodb-logo-rgb-j6w271g1xn.jpg
@@ -4,11 +4,11 @@ kind: Secret
type: kubernetes.io/tls
metadata:
labels:
app: {{ template "name" . }}
app: {{ template "mongodb-replicaset.name" . }}
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
heritage: {{ .Release.Service }}
release: {{ .Release.Name }}
name: {{ template "fullname" . }}-ca
name: {{ template "mongodb-replicaset.fullname" . }}-ca
data:
tls.key: {{ .Values.tls.cakey }}
tls.crt: {{ .Values.tls.cacert }}
@@ -175,7 +175,7 @@ spec:
- name: ca
secret:
defaultMode: 0400
secretName: {{ template "fullname" . }}-ca
secretName: {{ template "mongodb-replicaset.fullname" . }}-ca
{{- end }}
{{- if .Values.auth.enabled }}
- name: keydir