|
@ -27,10 +27,11 @@ spec: |
|
|
command: [ "/bin/bash", "-c" ] |
|
|
command: [ "/bin/bash", "-c" ] |
|
|
args: |
|
|
args: |
|
|
- >- |
|
|
- >- |
|
|
sleep $[RANDOM%120] && |
|
|
sleep $[RANDOM%120]; |
|
|
python3 /var/labhacker/audiencias/manage.py get_camara_webservice && |
|
|
python3 /var/labhacker/audiencias/manage.py prune_rooms; |
|
|
python3 /var/labhacker/audiencias/manage.py prune_rooms && |
|
|
python3 /var/labhacker/audiencias/manage.py prune_presences; |
|
|
python3 /var/labhacker/audiencias/manage.py prune_presences |
|
|
[[ ! -z "$WEBSERVICE_URL" ]] && |
|
|
|
|
|
python3 /var/labhacker/audiencias/manage.py get_camara_webservice |
|
|
env: |
|
|
env: |
|
|
- name: ADMIN_EMAIL |
|
|
- name: ADMIN_EMAIL |
|
|
value: {{ .Values.edemocracia.admin.email | quote }} |
|
|
value: {{ .Values.edemocracia.admin.email | quote }} |
|
|