mote_v2: change volumeName and fix path for prod
This commit is contained in:
parent
3749d306a2
commit
cf21ffb8ed
3 changed files with 9 additions and 1 deletions
|
@ -18,7 +18,11 @@ spec:
|
||||||
name: mote
|
name: mote
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
{% if env == 'staging' %}
|
||||||
- mountPath: /srv/web/meetbot
|
- mountPath: /srv/web/meetbot
|
||||||
|
{% else %}
|
||||||
|
- mountPath: /srv
|
||||||
|
{% endif %}
|
||||||
name: meetbot
|
name: meetbot
|
||||||
- mountPath: /opt/app/mote/config.py
|
- mountPath: /opt/app/mote/config.py
|
||||||
name: mote-config
|
name: mote-config
|
||||||
|
|
|
@ -28,7 +28,11 @@ spec:
|
||||||
name: mote-worker
|
name: mote-worker
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
{% if env == 'staging' %}
|
||||||
- mountPath: /srv/web/meetbot
|
- mountPath: /srv/web/meetbot
|
||||||
|
{% else %}
|
||||||
|
- mountPath: /srv
|
||||||
|
{% endif %}
|
||||||
name: meetbot
|
name: meetbot
|
||||||
- mountPath: /opt/app/mote/config.py
|
- mountPath: /opt/app/mote/config.py
|
||||||
name: mote-config
|
name: mote-config
|
||||||
|
|
|
@ -19,5 +19,5 @@ spec:
|
||||||
requests:
|
requests:
|
||||||
storage: 5Gi
|
storage: 5Gi
|
||||||
storageClassName: ""
|
storageClassName: ""
|
||||||
volumeName: meetbot-storage
|
volumeName: fedora_value_prod
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue