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
|
- name: build-output
|
||||||
mountPath: /antora/output
|
mountPath: /antora/output
|
||||||
readOnly: false
|
readOnly: false
|
||||||
|
{% if env == 'staging' %}
|
||||||
|
- name: build-temp
|
||||||
|
mountPath: /tmp
|
||||||
|
{% endif %}
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
startingDeadlineSeconds: 600
|
startingDeadlineSeconds: 600
|
||||||
volumes:
|
volumes:
|
||||||
- name: build-output
|
- name: build-output
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: docs-storage
|
claimName: docs-storage
|
||||||
|
{% if env == 'staging' %}
|
||||||
|
- name: build-temp
|
||||||
|
emptyDir: {}
|
||||||
|
{% endif %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue