diff options
author | 2023-02-01 15:06:45 +0000 | |
---|---|---|
committer | 2023-02-07 09:49:38 +0000 | |
commit | 62ccbbb1c7da36bb61174b952c9b5a3f8219e7e7 (patch) | |
tree | d79f2834b53cc61d8feff2aca811519d25421b16 /helm/robot | |
parent | 0700486a08b2bc08589f7e6b0be8338d6bbb4efa (diff) |
Fix robot failures in kubernetes CSITs
Api, Pap, Clamp configurations are fixed
Update Readiness containers as a list entity to wait for more than one component.
Issue-ID: POLICY-4546
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I8598ddc01905b072edd9eb3030a83d3d806a14eb
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: [] |