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

OZG-7121 mount temp directory

parent 518d9c85
No related branches found
No related tags found
1 merge request!3Resolve "xta-test-server helm-chart mit Deployment und Keystore-Secrets/Certificate-Resources"
Pipeline #1155 failed
...@@ -117,6 +117,8 @@ spec: ...@@ -117,6 +117,8 @@ spec:
terminationMessagePolicy: File terminationMessagePolicy: File
tty: true tty: true
volumeMounts: volumeMounts:
- name: temp-dir
mountPath: "/tmp"
- name: bindings - name: bindings
mountPath: "/bindings/ca-certificates/type" mountPath: "/bindings/ca-certificates/type"
subPath: type subPath: type
...@@ -127,6 +129,8 @@ spec: ...@@ -127,6 +129,8 @@ spec:
readOnly: true readOnly: true
volumes: volumes:
- name: temp-dir
emptyDir: {}
- name: bindings - name: bindings
configMap: configMap:
name: xta-test-server-bindings-type 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