hackoregon / civic-devops

Master collection point for issues, procedures, and code to manage the HackOregon Civic platform
MIT License
11 stars 4 forks source link

Change ELB listener rules priorities so that 2018 service are reached properly #109

Closed iant01 closed 6 years ago

iant01 commented 6 years ago

Currently the ELB listener priorities set for the new civic-2017 and civic-2018 services place them after last years services rules. Since last years service rules do not have host domain/sub-domains set, they match before this years services rules are reached.

Quick fix (which was done manually) was to change the rule ordering so that the new 2018 service rules are placed before all of the 2017 services rules. This can be done permanently in the service.yaml templates for the new services.

An alternative would be to assign doamin/sub-domain entries to last years (2017) services to have civicpdx.org so that their rules would only match when the path is civicpdx.org/something.

iant01 commented 6 years ago

This is associated with issue #96

iant01 commented 6 years ago

This issue can be closed when issue #118 is closed and PR 22 has been merged.