Allow overriding test images (#186)

This commit is contained in:
kfox1111
2023-06-14 21:17:08 +02:00
committed by GitHub
parent 250fd5db00
commit 4c0a1d52c5
8 changed files with 55 additions and 10 deletions
@@ -12,7 +12,7 @@ spec:
{{- toYaml .Values.podSecurityContext | nindent 4 }}
containers:
- name: curl-tornjak-frontend
image: cgr.dev/chainguard/bash:latest
image: {{ template "spire-lib.image" (dict "image" .Values.tests.bash.image "global" .Values.global) }}
command: ['curl']
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: