mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Fix chart name prefix when mongodb-replicaset TLS is enabled (#2866)
This commit is contained in:
committed by
Reinhard Nägele
parent
d497820a25
commit
c1655fd4fb
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user