Allow overriding test images (#186)
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -91,3 +91,18 @@ startupProbe:
|
||||
failureThreshold: 6
|
||||
# -- Success threshold count for startupProbe
|
||||
successThreshold: 1
|
||||
|
||||
# @ignored
|
||||
tests:
|
||||
bash:
|
||||
image:
|
||||
# -- The OCI registry to pull the image from
|
||||
registry: cgr.dev
|
||||
# -- The repository within the registry
|
||||
repository: chainguard/bash
|
||||
# -- The image pull policy
|
||||
pullPolicy: IfNotPresent
|
||||
# -- This value is deprecated in favor of tag. (Will be removed in a future release)
|
||||
version: ""
|
||||
# -- Overrides the image tag
|
||||
tag: 5.2.15
|
||||
|
||||
Reference in New Issue
Block a user