update helm charts to be more flexible

This commit is contained in:
Maidul Islam
2023-01-26 00:14:07 -08:00
parent 8a49e0817a
commit 099c4836e6
3 changed files with 8 additions and 12 deletions
+2 -2
View File
@@ -7,10 +7,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes # 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. # to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/) # 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 # 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 # 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. # follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes. # It is recommended to use it with quotes.
appVersion: "1.16.0" appVersion: "1.17.0"
+2 -5
View File
@@ -121,11 +121,8 @@ Create the mongodb connection string.
{{- $user := "root" -}} {{- $user := "root" -}}
{{- $pass := "root" -}} {{- $pass := "root" -}}
{{- $connectionString := printf "mongodb://%s:%s@%s:%d/" $user $pass $host $port -}} {{- $connectionString := printf "mongodb://%s:%s@%s:%d/" $user $pass $host $port -}}
{{- if .Values.mongodbConnection.standardConnectionStringFormat -}} {{- if .Values.mongodbConnection.externalMongoDBConnectionString -}}
{{- $connectionString = .Values.mongodbConnection.standardConnectionStringFormat -}} {{- $connectionString = .Values.mongodbConnection.externalMongoDBConnectionString -}}
{{- end -}}
{{- if .Values.mongodbConnection.dnsSeedListConnectionFormat -}}
{{- $connectionString = .Values.mongodbConnection.dnsSeedListConnectionFormat -}}
{{- end -}} {{- end -}}
{{- printf "%s" $connectionString -}} {{- printf "%s" $connectionString -}}
{{- end -}} {{- end -}}
+4 -5
View File
@@ -8,7 +8,7 @@ nameOverride: ""
frontend: frontend:
name: frontend name: frontend
podAnnotations: {} podAnnotations: {}
replicaCount: 1 replicaCount: 2
image: image:
repository: infisical/frontend repository: infisical/frontend
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
@@ -24,7 +24,7 @@ frontend:
backend: backend:
name: backend name: backend
podAnnotations: {} podAnnotations: {}
replicaCount: 1 replicaCount: 2
image: image:
repository: infisical/backend repository: infisical/backend
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
@@ -44,11 +44,10 @@ mongodb:
annotations: {} annotations: {}
# By default the backend will be connected to a Mongo instance in the cluster. # 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/ # Learn about connection string type here https://www.mongodb.com/docs/manual/reference/connection-string/
mongodbConnection: {} mongodbConnection: {}
# standardConnectionStringFormat: <> # externalMongoDBConnectionString: <>
# dnsSeedListConnectionFormat: <>
ingress: ingress:
enabled: true enabled: true