File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed
Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 11{
2+ " API_AUTHENTICATION_TOKEN_TTL " : null,
23 " API_CACHE_ENABLED " : true,
34 " API_DATA_MIGRATIONS_DIR " : " dev-data" ,
45 " API_NUM_THREADS " : null,
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ metadata:
77 {{- include "app.commonLabels" . | nindent 4 }}
88data :
99 ADDITIONAL_TRUSTED_HOSTS : {{ .Values.domain | quote }}
10- {{- if not (.Values.api.authenticationTokenTtl | empty) }}
10+ {{- if not (.Values.api.authenticationTokenTtl | quote | empty) }}
1111 AUTHENTICATION_TOKEN_TTL : {{ .Values.api.authenticationTokenTtl | quote }}
1212 {{- end }}
1313 COOKIE_PREFIX : {{ include "api.cookiePrefix" . | quote }}
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ featureToggle:
2525 checklist: {{ .Environment.Values | getOrNil "FEATURE_CHECKLIST" | default false }}
2626
2727api:
28+ authenticationTokenTtl: {{ .Environment.Values | getOrNil "API_AUTHENTICATION_TOKEN_TTL" }}
2829 dataMigrationsDir: {{ .Environment.Values | getOrNil "API_DATA_MIGRATIONS_DIR" | default "prod-data" }}
2930 subpath: "/api"
3031 image:
You can’t perform that action at this time.
0 commit comments