summaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/charts/drools/resources
diff options
context:
space:
mode:
authorBorislav Glozman <Borislav.Glozman@amdocs.com>2019-10-24 08:55:42 +0000
committerGerrit Code Review <gerrit@onap.org>2019-10-24 08:55:42 +0000
commitbfc7fe22f3bc058639c2f90633970b18e3101ef2 (patch)
tree589c9630c99062b0cdc093b475bb4cd2c742d7df /kubernetes/policy/charts/drools/resources
parente2073b42ee7532a5142fa81ff77b1be9a80079be (diff)
parent3cfa4cc86da2d825b56b5653b3ceb67586e7842a (diff)
Merge "Supply CDS GRPC endpoint details for policy (drools) to make use of"
Diffstat (limited to 'kubernetes/policy/charts/drools/resources')
-rw-r--r--kubernetes/policy/charts/drools/resources/configmaps/base.conf5
-rw-r--r--kubernetes/policy/charts/drools/resources/secrets/credentials.conf3
2 files changed, 8 insertions, 0 deletions
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}}