docsbuilding: use emptyDir as /tmp for staging
This commit is contained in:
parent
5b2d2723c4
commit
ae28c8964a
1 changed files with 8 additions and 0 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue