Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
update helm charts to be more flexible
Maidul Islam099c4836e6be
diff --git a/helm-charts/infisical/Chart.yaml b/helm-charts/infisical/Chart.yamlindex e5656d128f..b6426e6f41 100644--- a/helm-charts/infisical/Chart.yaml+++ b/helm-charts/infisical/Chart.yaml@@ -7,10 +7,10 @@ type: application# This is the chart version. This version number should be incremented each time you make changes# to the chart and its templates, including the app version.# Versions are expected to follow Semantic Versioning (https://semver.org/)-version: 0.1.7+version: 0.1.8# This is the version number of the application being deployed. This version number should be# incremented each time you make changes to the application. Versions are not expected to# follow Semantic Versioning. They should reflect the version the application is using.# It is recommended to use it with quotes.-appVersion: "1.16.0"+appVersion: "1.17.0"diff --git a/helm-charts/infisical/templates/_helpers.tpl b/helm-charts/infisical/templates/_helpers.tplindex 32bc9b02bf..d0ceb06416 100644--- a/helm-charts/infisical/templates/_helpers.tpl+++ b/helm-charts/infisical/templates/_helpers.tpl@@ -121,11 +121,8 @@ Create the mongodb connection string.{{- $user := "root" -}}{{- $pass := "root" -}}{{- $connectionString := printf "mongodb://%s:%s@%s:%d/" $user $pass $host $port -}}-{{- if .Values.mongodbConnection.standardConnectionStringFormat -}}-{{- $connectionString = .Values.mongodbConnection.standardConnectionStringFormat -}}-{{- end -}}-{{- if .Values.mongodbConnection.dnsSeedListConnectionFormat -}}-{{- $connectionString = .Values.mongodbConnection.dnsSeedListConnectionFormat -}}+{{- if .Values.mongodbConnection.externalMongoDBConnectionString -}}+{{- $connectionString = .Values.mongodbConnection.externalMongoDBConnectionString -}}{{- end -}}{{- printf "%s" $connectionString -}}{{- end -}}diff --git a/helm-charts/infisical/values.yaml b/helm-charts/infisical/values.yamlindex 7661be0647..1773bb7b0e 100644--- a/helm-charts/infisical/values.yaml+++ b/helm-charts/infisical/values.yaml@@ -8,7 +8,7 @@ nameOverride: ""frontend:name: frontendpodAnnotations: {}- replicaCount: 1+ replicaCount: 2image:repository: infisical/frontendpullPolicy: IfNotPresent@@ -24,7 +24,7 @@ frontend:backend:name: backendpodAnnotations: {}- replicaCount: 1+ replicaCount: 2image:repository: infisical/backendpullPolicy: IfNotPresent@@ -44,11 +44,10 @@ mongodb:annotations: {}# By default the backend will be connected to a Mongo instance in the cluster.-# However, it is recommended to add a Mongo Cloud connection string as the DB instance in the cluster does not have persistence yet.+# However, it is recommended to add a managed document DB connection string because the DB instance in the cluster does not have persistence yet ( data will be deleted on next deploy).# Learn about connection string type here https://www.mongodb.com/docs/manual/reference/connection-string/mongodbConnection: {}-# standardConnectionStringFormat: <>-# dnsSeedListConnectionFormat: <>+ # externalMongoDBConnectionString: <>ingress:enabled: true