From 3cfa4cc86da2d825b56b5653b3ceb67586e7842a Mon Sep 17 00:00:00 2001 From: Rashmi Pujar Date: Thu, 17 Oct 2019 16:05:50 -0400 Subject: Supply CDS GRPC endpoint details for policy (drools) to make use of Issue-ID: POLICY-2088 Signed-off-by: Rashmi Pujar Change-Id: Iefcf1ea50cb2d096ff38a0ecf461a2caa6718f22 --- kubernetes/policy/charts/drools/resources/configmaps/base.conf | 5 +++++ kubernetes/policy/charts/drools/resources/secrets/credentials.conf | 3 +++ 2 files changed, 8 insertions(+) (limited to 'kubernetes/policy/charts/drools/resources') diff --git a/kubernetes/policy/charts/drools/resources/configmaps/base.conf b/kubernetes/policy/charts/drools/resources/configmaps/base.conf index ba39b0b5ad..99c7f9b73d 100644 --- a/kubernetes/policy/charts/drools/resources/configmaps/base.conf +++ b/kubernetes/policy/charts/drools/resources/configmaps/base.conf @@ -90,3 +90,8 @@ VFC_URL= # SDNC SDNC_URL=http://sdnc.{{.Release.Namespace}}:8282/restconf/operations + +# CDS + +CDS_GRPC_HOST={{.Values.cds.grpc.svcName}} +CDS_GRPC_PORT={{.Values.cds.grpc.svcPort}} diff --git a/kubernetes/policy/charts/drools/resources/secrets/credentials.conf b/kubernetes/policy/charts/drools/resources/secrets/credentials.conf index 36d3c3b376..57269c18af 100644 --- a/kubernetes/policy/charts/drools/resources/secrets/credentials.conf +++ b/kubernetes/policy/charts/drools/resources/secrets/credentials.conf @@ -54,3 +54,6 @@ SDNC_PASSWORD={{.Values.sdnc.password}} HEALTHCHECK_USER={{.Values.telemetry.user}} HEALTHCHECK_PASSWORD={{.Values.telemetry.password}} + +CDS_GRPC_USERNAME={{.Values.cds.grpc.user}} +CDS_GRPC_PASSWORD={{.Values.cds.grpc.password}} -- cgit 1.2.3-korg