Page MenuHomeDevCentral

WIP: Use Docker pillar information in nginx config
Needs ReviewPublic

Authored by dereckson on Oct 28 2019, 03:13.
Tags
None
Referenced Files
F3929596: D2084.id5260.diff
Sun, Dec 22, 09:59
Unknown Object (File)
Wed, Dec 18, 02:27
Unknown Object (File)
Sun, Dec 15, 00:50
Unknown Object (File)
Fri, Dec 6, 14:33
Unknown Object (File)
Wed, Dec 4, 09:27
Unknown Object (File)
Wed, Dec 4, 08:54
Unknown Object (File)
Fri, Nov 29, 08:24
Unknown Object (File)
Tue, Nov 26, 11:17
Subscribers
None

Details

Reviewers
dereckson
Summary

Currently, the nginx configuration for the legacy webserver role
used hardcoded port information to pass a request to Docker PaaS.

This change introduces a method to prepare a dictionary of proxy_pass URLs
per server and application, and applies it for API and infra.

Test Plan

Deploy on Ysul

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
configure-docker-upstreams
Build Status
Buildable 3241
Build 3490: arc lint + arc unit

Event Timeline

dereckson created this revision.

Remove debug information, use correct pillar syntax.

Call paas_docker.get_upstreams()