mote_v2: change volumeName and fix path for prod

This commit is contained in:
Francois Andrieu 2022-06-27 23:09:25 +02:00
parent 3749d306a2
commit cf21ffb8ed
3 changed files with 9 additions and 1 deletions

View file

@ -18,7 +18,11 @@ spec:
name: mote
imagePullPolicy: IfNotPresent
volumeMounts:
{% if env == 'staging' %}
- mountPath: /srv/web/meetbot
{% else %}
- mountPath: /srv
{% endif %}
name: meetbot
- mountPath: /opt/app/mote/config.py
name: mote-config

View file

@ -28,7 +28,11 @@ spec:
name: mote-worker
imagePullPolicy: IfNotPresent
volumeMounts:
{% if env == 'staging' %}
- mountPath: /srv/web/meetbot
{% else %}
- mountPath: /srv
{% endif %}
name: meetbot
- mountPath: /opt/app/mote/config.py
name: mote-config

View file

@ -19,5 +19,5 @@ spec:
requests:
storage: 5Gi
storageClassName: ""
volumeName: meetbot-storage
volumeName: fedora_value_prod
{% endif %}