Page MenuHomeDevCentral

Check docker_container app_port/host
ClosedPublic

Authored by dereckson on Nov 11 2018, 14:15.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 14, 07:59
Unknown Object (File)
Tue, Apr 9, 04:42
Unknown Object (File)
Mon, Apr 8, 18:11
Unknown Object (File)
Sun, Apr 7, 13:25
Unknown Object (File)
Fri, Apr 5, 05:11
Unknown Object (File)
Tue, Apr 2, 17:23
Unknown Object (File)
Mon, Apr 1, 03:53
Unknown Object (File)
Fri, Mar 29, 12:30
Subscribers
None

Details

Summary

If an entry under docker_containers has host defined, it needs also
to have app_port defined. The host key is used by nginx to determine
if a web configuration should be generated for this container.

This change offers an unit test to validate the pillar configuration,
and fixes the issue for exim container introduced in 3c52ac6a.

Test Plan

New config test provided

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Nov 11 2018, 14:52
This revision was automatically updated to reflect the committed changes.