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:
Mariusz Sabath
2023-05-23 13:32:20 -04:00
committed by GitHub
parent 1922085ba7
commit e4447fd8eb
9 changed files with 59 additions and 17 deletions
@@ -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 }}