Skip to content

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

update helm charts to be more flexible

Maidul Islam099c4836e6be
diff --git a/helm-charts/infisical/Chart.yaml b/helm-charts/infisical/Chart.yaml
index 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.tpl
index 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.yaml
index 7661be0647..1773bb7b0e 100644
--- a/helm-charts/infisical/values.yaml
+++ b/helm-charts/infisical/values.yaml
@@ -8,7 +8,7 @@ nameOverride: ""
frontend:
name: frontend
podAnnotations: {}
- replicaCount: 1
+ replicaCount: 2
image:
repository: infisical/frontend
pullPolicy: IfNotPresent
@@ -24,7 +24,7 @@ frontend:
backend:
name: backend
podAnnotations: {}
- replicaCount: 1
+ replicaCount: 2
image:
repository: infisical/backend
pullPolicy: 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