aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Shatov <alexs@att.com>2018-09-19 10:40:28 -0400
committerAlex Shatov <alexs@att.com>2018-09-19 10:40:28 -0400
commit17b8219d15b4e32d249096a1c734e0cc6bc17f9c (patch)
tree2361f9cd76e0e4cea5edfb13722013f6110f169f
parentb8be9f84bc3f4813a4cc3ceeb3e3a722e19120eb (diff)
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 <alexs@att.com> Issue-ID: DCAEGEN2-611
-rw-r--r--input-templates/phinputs.yaml5
1 files changed, 4 insertions, 1 deletions
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 :