Merge lp:~ack/landscape-charm/block-metrics-through-haproxy into lp:~landscape/landscape-charm/trunk
Proposed by
Alberto Donato
Status: | Merged |
---|---|
Approved by: | Alberto Donato |
Approved revision: | 386 |
Merged at revision: | 384 |
Proposed branch: | lp:~ack/landscape-charm/block-metrics-through-haproxy |
Merge into: | lp:~landscape/landscape-charm/trunk |
Diff against target: |
319 lines (+8/-255) 6 files modified
config/vhost.tmpl (+0/-66) config/vhost.tmpl.legacy (+0/-66) config/vhostssl.tmpl (+0/-62) config/vhostssl.tmpl.legacy (+0/-61) lib/relations/haproxy.py (+2/-0) lib/relations/tests/test_haproxy.py (+6/-0) |
To merge this branch: | bzr merge lp:~ack/landscape-charm/block-metrics-through-haproxy |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Francis Ginther (community) | Approve | ||
Adam Collard (community) | Approve | ||
🤖 Landscape Builder | test results | Approve | |
Review via email:
|
Commit message
Change the haproxy configuration to prevent access to the /metrics endpoint on the landscape unit.
Description of the change
Change the haproxy configuration to prevent access to the /metrics endpoint on the landscape unit.
Testing instructions:
- CHARM_BRANCH='lp:~ack/landscape-charm/block-metrics-through-haproxy' make stage-landscape
- deploy
- accesssing https://<url>/metrics should give a 403 error
To post a comment you must log in.
Command: make ci-test /ci.lscape. net/job/ latch-test- xenial/ 3640/
Result: Success
Revno: 386
Branch: lp:~ack/landscape-charm/block-metrics-through-haproxy
Jenkins: https:/