docsbuilding: use emptyDir as /tmp for staging

This commit is contained in:
Francois Andrieu 2021-05-25 17:24:52 +02:00 committed by kevin
parent 5b2d2723c4
commit ae28c8964a

View file

@ -24,9 +24,17 @@ spec:
- name: build-output
mountPath: /antora/output
readOnly: false
{% if env == 'staging' %}
- name: build-temp
mountPath: /tmp
{% endif %}
restartPolicy: Never
startingDeadlineSeconds: 600
volumes:
- name: build-output
persistentVolumeClaim:
claimName: docs-storage
{% if env == 'staging' %}
- name: build-temp
emptyDir: {}
{% endif %}