File tree Expand file tree Collapse file tree 4 files changed +10
-3
lines changed Expand file tree Collapse file tree 4 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,10 @@ type: application
14
14
# This is the chart version. This version number should be incremented each time you make changes
15
15
# to the chart and its templates, including the app version.
16
16
# Versions are expected to follow Semantic Versioning (https://semver.org/)
17
- version : 0.1.2
17
+ version : 0.1.3
18
18
19
19
# This is the version number of the application being deployed. This version number should be
20
20
# incremented each time you make changes to the application. Versions are not expected to
21
21
# follow Semantic Versioning. They should reflect the version the application is using.
22
22
# It is recommended to use it with quotes.
23
- appVersion : " 3.14 .0"
23
+ appVersion : " 7.0 .0"
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ SuperTokens Core Deployment
19
19
| autoscaling.minReplicas | int | ` 1 ` | minimal replica count when autoscaling |
20
20
| autoscaling.targetCPUUtilizationPercentage | int | ` 80 ` | target CPU usage before autoscaling |
21
21
| basePath | string | ` "" ` | |
22
+ | database.uri | string | ` "" ` | database uri (connection string), used instead of other DB params if not empty |
22
23
| database.host | string | ` "postgres.postgres" ` | database host |
23
24
| database.name | string | ` "supertokens" ` | database name |
24
25
| database.password | string | ` "password" ` | database password |
Original file line number Diff line number Diff line change @@ -7,11 +7,15 @@ metadata:
7
7
{{ include "supertokens.labels" . | indent 4}}
8
8
type : Opaque
9
9
stringData :
10
+ {{- if .Values.database.uri }}
11
+ POSTGRESQL_CONNECTION_URI : {{ quote .Values.database.uri }}
12
+ {{- else }}
10
13
POSTGRESQL_DATABASE_NAME : {{ quote .Values.database.name }}
11
14
POSTGRESQL_PORT : {{ quote .Values.database.port }}
12
15
POSTGRESQL_HOST : {{ quote .Values.database.host }}
13
16
POSTGRESQL_USER : {{ quote .Values.database.user }}
14
17
POSTGRESQL_PASSWORD : {{ quote .Values.database.password }}
18
+ {{- end }}
15
19
{{- if .Values.apiKeys.enabled }}
16
20
API_KEYS : " {{ join " ," .Values.apiKeys.keys }}"
17
21
{{- end }}
Original file line number Diff line number Diff line change 2
2
repository : supertokens/supertokens-postgresql
3
3
pullPolicy : IfNotPresent
4
4
# -- Overrides the image tag whose default is the chart appVersion.
5
- tag : " 3.14 "
5
+ tag : " 7.0 "
6
6
7
7
replicaCount : 1
8
8
imagePullSecrets : []
@@ -13,6 +13,8 @@ fullnameOverride: ""
13
13
existingSecret : null
14
14
15
15
database :
16
+ # -- database uri (connection string), used instaed of other params if not empty
17
+ uri : " "
16
18
# -- database name
17
19
name : supertokens
18
20
# -- database port
You can’t perform that action at this time.
0 commit comments