diff options
author | Ram Krishna Verma <ram_krishna.verma@bell.ca> | 2023-02-21 15:15:21 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2023-02-21 15:15:21 +0000 |
commit | a6664dc5c767210a78f140b9fa149c2a8261b428 (patch) | |
tree | 4bc90c10e760271de690b16e678ea81120ee920b /helm/robot/templates/test-job.yaml | |
parent | 12dc7f261c9d221cfef3cb991d85034f034020a5 (diff) | |
parent | 6ebe5b6521d3dc5f98981ffded70155b537c533e (diff) |
Merge "Add volume mount for storing k8s robot logs to the host"
Diffstat (limited to 'helm/robot/templates/test-job.yaml')
-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 |