diff options
author | rameshiyer27 <ramesh.murugan.iyer@est.tech> | 2023-02-14 17:52:49 +0000 |
---|---|---|
committer | rameshiyer27 <ramesh.murugan.iyer@est.tech> | 2023-02-14 18:06:20 +0000 |
commit | 6ebe5b6521d3dc5f98981ffded70155b537c533e (patch) | |
tree | ace47e52775348828642ac8eec5d9c66f52276f4 /helm/robot/templates | |
parent | f5a11b0b346df610ffa8d9857956abf113ce6765 (diff) |
Add volume mount for storing k8s robot logs to the host
Issue-ID: POLICY-4546
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I498aa9db39d6b04e685a893c9bca41c6bb108265
Diffstat (limited to 'helm/robot/templates')
-rw-r--r-- | helm/robot/templates/test-job.yaml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/helm/robot/templates/test-job.yaml b/helm/robot/templates/test-job.yaml index 5d8a610f..ed1669a9 100644 --- a/helm/robot/templates/test-job.yaml +++ b/helm/robot/templates/test-job.yaml @@ -49,4 +49,11 @@ spec: - name: ROBOT_FILE value: {{ .Values.robot }} command: [ "./run-test.sh", "$(ROBOT_FILE)" ] - restartPolicy: Never
\ No newline at end of file + volumeMounts: + - name: robot-csit-pv + mountPath: /tmp + restartPolicy: Never + volumes: + - name: robot-csit-pv + hostPath: + path: {{ .Values.robotLogDir }}
\ No newline at end of file |