Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

fix(chart): helpers template auth.password typo

Grraahaamca07d1c50ed4
diff --git a/helm-charts/infisical/templates/_helpers.tpl b/helm-charts/infisical/templates/_helpers.tpl
index f10e44c566..bf3f8e3018 100644
--- a/helm-charts/infisical/templates/_helpers.tpl
+++ b/helm-charts/infisical/templates/_helpers.tpl
@@ -119,7 +119,7 @@ Create the mongodb connection string.
{{- $host := include "infisical.mongodb.fullname" . -}}
{{- $port := 27017 -}}
{{- $user := first .Values.mongodb.auth.usernames | default "root" -}}
-{{- $pass := first .Values.mongodb.auth.usernames | default "root" -}}
+{{- $pass := first .Values.mongodb.auth.passwords | default "root" -}}
{{- $database := first .Values.mongodb.auth.databases | default "test" -}}
{{- $connectionString := printf "mongodb://%s:%s@%s:%d/%s" $user $pass $host $port $database -}}
{{- if .Values.mongodbConnection.externalMongoDBConnectionString -}}