diff --git a/helm-charts/infisical/templates/backend-deployment.yaml b/helm-charts/infisical/templates/backend-deployment.yaml index 9f3ae2d91..b6d63372f 100644 --- a/helm-charts/infisical/templates/backend-deployment.yaml +++ b/helm-charts/infisical/templates/backend-deployment.yaml @@ -75,11 +75,12 @@ metadata: type: Opaque stringData: {{- $requiredVars := dict "ENCRYPTION_KEY" (randAlphaNum 32 | lower) - "JWT_SIGNUP_SECRET" (randAlphaNum 32 | lower) - "JWT_REFRESH_SECRET" (randAlphaNum 32 | lower) - "JWT_AUTH_SECRET" (randAlphaNum 32 | lower) - "JWT_SERVICE_SECRET" (randAlphaNum 32 | lower) - "JWT_MFA_SECRET" (randAlphaNum 32 | lower) }} + "JWT_SIGNUP_SECRET" (randAlphaNum 32 | lower) + "JWT_REFRESH_SECRET" (randAlphaNum 32 | lower) + "JWT_AUTH_SECRET" (randAlphaNum 32 | lower) + "JWT_SERVICE_SECRET" (randAlphaNum 32 | lower) + "JWT_MFA_SECRET" (randAlphaNum 32 | lower) + "MONGO_URL" (include "infisical.mongodb.connectionString" .) }} {{- $secretObj := (lookup "v1" "Secret" .Release.Namespace (include "infisical.backend.fullname" .)) | default dict }} {{- $secretData := (get $secretObj "data") | default dict }} {{ range $key, $value := .Values.backendEnvironmentVariables }} diff --git a/helm-charts/infisical/values.yaml b/helm-charts/infisical/values.yaml index 80638dd67..4f540ff6d 100644 --- a/helm-charts/infisical/values.yaml +++ b/helm-charts/infisical/values.yaml @@ -156,9 +156,16 @@ backendEnvironmentVariables: ## @param backendEnvironmentVariables.SITE_URL Absolute URL including the protocol (e.g. https://app.infisical.com) ## SITE_URL: infisical.local - ## @param backendEnvironmentVariables.INVITE_ONLY_SIGNUP To disable account creation from the login page + ## @param backendEnvironmentVariables.INVITE_ONLY_SIGNUP To disable account creation from the login page (invites only) ## INVITE_ONLY_SIGNUP: false + ## @param backendEnvironmentVariables.MONGO_URL MongoDB connection string + ## By default the backend will automatically be connected to a Mongo instance within the cluster + ## However, it is recommended to add a managed document DB connection string for production-use (DBaaS) + ## Learn about connection string type here https://www.mongodb.com/docs/manual/reference/connection-string/ + ## e.g. "mongodb://:@:/" + ## + MONGO_URL: "" ## @section MongoDB(®) parameters ## Documentation : https://github.com/bitnami/charts/blob/main/bitnami/mongodb/values.yaml @@ -275,7 +282,7 @@ mongodb: ## size: 8Gi -## @param mongodbConnection.externalMongoDBConnectionString External MongoDB connection string +## @param mongodbConnection.externalMongoDBConnectionString Deprecated :warning: External MongoDB connection string
Use backendEnvironmentVariables.MONGO_URL instead ## By default the backend will be connected to a Mongo instance within the cluster ## However, it is recommended to add a managed document DB connection string for production-use (DBaaS) ## Learn about connection string type here https://www.mongodb.com/docs/manual/reference/connection-string/