Upgrade Tornjak to new image v1.2.1 (#299)
This upgrade enables the production version of React in Tornjak Frontend with a smaller footprint and faster startup time. Using Tornjak v1.2.1 release https://github.com/spiffe/tornjak/releases/tag/v1.2.1 --------- Signed-off-by: Mariusz Sabath <[email protected]>
This commit is contained in:
@@ -39,18 +39,20 @@ spec:
|
||||
- name: REACT_APP_SPIRE_HEALTH_CHECK_ENABLE
|
||||
value: "{{ .Values.spireHealthCheck.enabled }}"
|
||||
{{- end }}
|
||||
{{- if .Values.startupProbe.enabled }}
|
||||
startupProbe:
|
||||
httpGet:
|
||||
scheme: HTTP
|
||||
port: {{ .Values.service.port }}
|
||||
failureThreshold: 6
|
||||
initialDelaySeconds: 120
|
||||
periodSeconds: 45
|
||||
successThreshold: 1
|
||||
timeoutSeconds: 20
|
||||
failureThreshold: {{ .Values.startupProbe.failureThreshold }}
|
||||
initialDelaySeconds: {{ .Values.startupProbe.initialDelaySeconds }}
|
||||
periodSeconds: {{ .Values.startupProbe.periodSeconds }}
|
||||
successThreshold: {{ .Values.startupProbe.successThreshold }}
|
||||
timeoutSeconds: {{ .Values.startupProbe.timeoutSeconds }}
|
||||
{{- end }}
|
||||
volumeMounts:
|
||||
- name: cache
|
||||
mountPath: /usr/src/app/node_modules/.cache
|
||||
mountPath: /usr/src/app/
|
||||
{{- with .Values.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
|
||||
Reference in New Issue
Block a user