[indico-web] Simplify volume setup
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [indico-web] Simplify volume setup
- Date: Fri, 29 Nov 2019 11:52:12 +0000 (UTC)
commit 8668fae6b74cd269f9398545dee4fa0dbf1859df
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Fri Nov 29 12:13:58 2019 +0100
Simplify volume setup
oscp.yml | 26 ++++++++------------------
1 file changed, 8 insertions(+), 18 deletions(-)
---
diff --git a/oscp.yml b/oscp.yml
index 3891f8d..5dea532 100644
--- a/oscp.yml
+++ b/oscp.yml
@@ -240,26 +240,16 @@ objects:
cpu: 400m
memory: 512Mi
volumeMounts:
- - mountPath: /opt/indico/archive
- name: indico-web-claim0
- - mountPath: /opt/indico/custom
- name: customization
- - mountPath: /opt/indico/tmp
- name: indico-web-tmpfs0
+ - mountPath: /opt/indico/data
+ name: indico-data
restartPolicy: Always
volumes:
- - name: indico-web-claim0
- persistentVolumeClaim:
- claimName: indico-web-claim0
- - name: indico-web-claim1
+ - name: indico-data
persistentVolumeClaim:
- claimName: indico-web-claim1
- - name: customization
- persistentVolumeClaim:
- claimName: customization
- - emptyDir:
+ claimName: indico-data
+ - name: indico-tmp
+ emptyDir:
medium: Memory
- name: indico-web-tmpfs0
test: false
triggers:
- type: ConfigChange
@@ -386,12 +376,12 @@ objects:
memory: 512Mi
volumeMounts:
- mountPath: /opt/indico/tmp
- name: indico-celery-tmpfs0
+ name: indico-tmp
restartPolicy: Always
volumes:
- emptyDir:
medium: Memory
- name: indico-celery-tmpfs0
+ name: indico-tmp
test: false
triggers:
- type: ConfigChange
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]