Skip to content

Commit a75099b

Browse files
authored
Merge pull request #266 from rooftopcellist/fix-order-nginx-resource-requirements
Reorder nginx container resource requirements in template to fix syntax
2 parents 482ecf1 + 89c546d commit a75099b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/eda/templates/eda-api.deployment.yaml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,10 +399,10 @@ spec:
399399
mountPath: /var/cache/nginx
400400
- name: nginx-run
401401
mountPath: /var/run
402-
restartPolicy: Always
403402
{% if combined_api.resource_requirements is defined %}
404403
resources: {{ combined_api.resource_requirements }}
405404
{% endif %}
405+
restartPolicy: Always
406406
volumes:
407407
{% if not ui_disabled %}
408408
- name: static-files

0 commit comments

Comments
 (0)