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 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

View file

@ -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

View file

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