Skip to content
Snippets Groups Projects
Commit 425002a7 authored by Martin's avatar Martin
Browse files

OZG-7121 mount temp directory

parent 518d9c85
Branches
Tags
1 merge request!3Resolve "xta-test-server helm-chart mit Deployment und Keystore-Secrets/Certificate-Resources"
Pipeline #1155 failed
......@@ -117,6 +117,8 @@ spec:
terminationMessagePolicy: File
tty: true
volumeMounts:
- name: temp-dir
mountPath: "/tmp"
- name: bindings
mountPath: "/bindings/ca-certificates/type"
subPath: type
......@@ -127,6 +129,8 @@ spec:
readOnly: true
volumes:
- name: temp-dir
emptyDir: {}
- name: bindings
configMap:
name: xta-test-server-bindings-type
......
suite: deployment volumes test
templates:
- templates/deployment.yaml
release:
name: helm-test
namespace: ns-helm-test
set:
ozgcloud:
environment: test
imagePullSecret: image-pull-secret
tests:
- it: should have temp-dir volume
asserts:
- contains:
path: spec.template.spec.containers[0].volumeMounts
content:
name: temp-dir
mountPath: "/tmp"
- it: should have temp-dir volume mount
asserts:
- contains:
path: spec.template.spec.volumes
content:
name: temp-dir
emptyDir: {}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment