diff options
Diffstat (limited to 'helm/robot')
-rw-r--r-- | helm/robot/templates/test-job.yaml | 9 | ||||
-rw-r--r-- | helm/robot/values.yaml | 2 |
2 files changed, 7 insertions, 4 deletions
diff --git a/helm/robot/templates/test-job.yaml b/helm/robot/templates/test-job.yaml index 4fa27b35..5d8a610f 100644 --- a/helm/robot/templates/test-job.yaml +++ b/helm/robot/templates/test-job.yaml @@ -29,9 +29,12 @@ spec: image: {{ .Values.imageCredentials.readinessImage.name }} imagePullPolicy: {{ .Values.image.pullPolicy }} command: - - /app/ready.py - - --container-name - - {{ .Values.readiness }} + - /app/ready.py + args: + {{- range $container := .Values.readiness }} + - --container-name + - {{ $container}} + {{- end }} env: - name: NAMESPACE valueFrom: diff --git a/helm/robot/values.yaml b/helm/robot/values.yaml index 538e0a81..95df6fa0 100644 --- a/helm/robot/values.yaml +++ b/helm/robot/values.yaml @@ -66,5 +66,5 @@ tolerations: [] affinity: {} robot: "" -readiness: "" +readiness: [] |