Improve Tornjak frontend test (#320)

This commit is contained in:
Mariusz Sabath
2023-05-30 23:28:35 +02:00
committed by GitHub
parent 71d110e730
commit 5b779dc88a
2 changed files with 2 additions and 1 deletions
@@ -50,6 +50,7 @@ spec:
startupProbe: startupProbe:
httpGet: httpGet:
scheme: HTTP scheme: HTTP
path: /tornjak/serverinfo
port: {{ .Values.service.port }} port: {{ .Values.service.port }}
failureThreshold: {{ .Values.startupProbe.failureThreshold }} failureThreshold: {{ .Values.startupProbe.failureThreshold }}
initialDelaySeconds: {{ .Values.startupProbe.initialDelaySeconds }} initialDelaySeconds: {{ .Values.startupProbe.initialDelaySeconds }}
@@ -14,7 +14,7 @@ spec:
- name: curl-tornjak-frontend - name: curl-tornjak-frontend
image: cgr.dev/chainguard/bash:latest image: cgr.dev/chainguard/bash:latest
command: ['curl'] command: ['curl']
args: ['-k', '-s', '-f', 'http://{{ include "tornjak-frontend.fullname" . }}.{{ include "tornjak-frontend.namespace" . }}.svc.{{ include "spire-lib.cluster-domain" . }}:{{ .Values.service.port }}'] args: ['-k', '-s', '-f', 'http://{{ include "tornjak-frontend.fullname" . }}.{{ include "tornjak-frontend.namespace" . }}.svc.{{ include "spire-lib.cluster-domain" . }}:{{ .Values.service.port }}/tornjak/serverinfo']
securityContext: securityContext:
{{- toYaml .Values.securityContext | nindent 8 }} {{- toYaml .Values.securityContext | nindent 8 }}
restartPolicy: Never restartPolicy: Never