diff options
author | Rashmi Pujar <rashmi.pujar@bell.ca> | 2019-10-17 16:05:50 -0400 |
---|---|---|
committer | Rashmi Pujar <rashmi.pujar@bell.ca> | 2019-10-17 16:06:56 -0400 |
commit | 3cfa4cc86da2d825b56b5653b3ceb67586e7842a (patch) | |
tree | 566522f2dbff5ae2097f8dc4ee1099c220d0806f /kubernetes/policy/charts/drools/resources | |
parent | dacbc1cf3cd4c2312ce55de281290fe86c68baba (diff) |
Supply CDS GRPC endpoint details for policy (drools) to make use of
Issue-ID: POLICY-2088
Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca>
Change-Id: Iefcf1ea50cb2d096ff38a0ecf461a2caa6718f22
Diffstat (limited to 'kubernetes/policy/charts/drools/resources')
-rw-r--r-- | kubernetes/policy/charts/drools/resources/configmaps/base.conf | 5 | ||||
-rw-r--r-- | kubernetes/policy/charts/drools/resources/secrets/credentials.conf | 3 |
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}} |