Page MenuHomeDevCentral

WIP: Use Docker pillar information in nginx config
Needs ReviewPublic

Authored by dereckson on Oct 28 2019, 03:13.

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 OK
Unit
No Unit Test Coverage
Branch
configure-docker-upstreams
Build Status
Buildable 3248
Build 3497: arc lint + arc unit

Event Timeline

dereckson created this revision.

Remove debug information, use correct pillar syntax.

Call paas_docker.get_upstreams()