mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
update helm charts to be more flexible
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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 -}}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user