mirror of
https://github.com/bitnami/charts.git
synced 2026-03-04 06:47:57 +08:00
[bitnami/mongodb] fix variable assignment preventing certificate generation (#15079)
* fix variable assignment * Update Chart.yaml --------- Signed-off-by: Heiko Helmle <heiko.helmle@horiba.com> Signed-off-by: Fran Mulero <fmulero@vmware.com> Co-authored-by: Fran Mulero <fmulero@vmware.com>
This commit is contained in:
@@ -26,4 +26,4 @@ name: mongodb
|
||||
sources:
|
||||
- https://github.com/bitnami/containers/tree/main/bitnami/mongodb
|
||||
- https://mongodb.org
|
||||
version: 13.8.0
|
||||
version: 13.8.1
|
||||
|
||||
@@ -25,7 +25,7 @@ data:
|
||||
mongodb-ca-cert: {{ b64enc $ca.Cert }}
|
||||
mongodb-ca-key: {{ b64enc $ca.Key }}
|
||||
{{- else }}
|
||||
{{- $ca = genCA "myMongo-ca" 3650 }}
|
||||
{{- $ca := genCA "myMongo-ca" 3650 }}
|
||||
mongodb-ca-cert: {{ include "common.secrets.lookup" (dict "secret" $secretName "key" "mongodb-ca-cert" "defaultValue" $ca.Cert "context" $) }}
|
||||
mongodb-ca-key: {{ include "common.secrets.lookup" (dict "secret" $secretName "key" "mongodb-ca-key" "defaultValue" $ca.Key "context" $) }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user