From 17b8219d15b4e32d249096a1c734e0cc6bc17f9c Mon Sep 17 00:00:00 2001 From: Alex Shatov Date: Wed, 19 Sep 2018 10:40:28 -0400 Subject: inputs for 4.3.1 policy-handler - pdp hostname - k8s specific routing to policy-engine by hostname "pdp" - relying on dns to resolve hostname "pdp" to ip address - expecting to find "pdp" as the hostname in server cert from pdp policy_engine : url : "https://pdp:8081" Change-Id: Ib6b7acfdf1faf26a6e2c86cf8a4f004bbbfd4121 Signed-off-by: Alex Shatov Issue-ID: DCAEGEN2-611 --- input-templates/phinputs.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/input-templates/phinputs.yaml b/input-templates/phinputs.yaml index e252a9e..5643193 100644 --- a/input-templates/phinputs.yaml +++ b/input-templates/phinputs.yaml @@ -45,8 +45,11 @@ application_config: # We obtain that info manually from PDP folks at the moment. # In long run we should figure out a way of bringing that info into consul record # related to policy-engine itself. + # - k8s specific routing to policy-engine by hostname "pdp" + # - relying on dns to resolve hostname "pdp" to ip address + # - expecing to find "pdp" as the hostname in server cert from policy-engine policy_engine : - url : "https://{{ policy_ip_addr }}:8081" + url : "https://pdp:8081" path_notifications : "/pdp/notifications" path_api : "/pdp/api/" headers : -- cgit 1.2.3-korg