aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/dcaegen2-services
diff options
context:
space:
mode:
authorvv770d <vv770d@att.com>2021-07-26 19:42:44 +0000
committerVijay Venkatesh Kumar <vv770d@att.com>2021-07-28 20:45:39 +0000
commit5026ae342fbbfd52e53fd7d6f1715a4fd8220863 (patch)
treef1529dd0d4932f0a02bd2536ab4bdb136c9de492 /kubernetes/dcaegen2-services
parentc834ad222957a10ea5e6863370d5961200772aba (diff)
[DCAE] Fix PRH aai lookup url config
envsubst was modifying application config containing ${<pattern>} to null; introduced dummy variable as work-around to generate required config Change-Id: I596e542f4719880a4359de9ea82bbb80b9d87403 Signed-off-by: vv770d <vv770d@att.com> Issue-ID: DCAEGEN2-2869 Signed-off-by: vv770d <vv770d@att.com>
Diffstat (limited to 'kubernetes/dcaegen2-services')
-rw-r--r--kubernetes/dcaegen2-services/components/dcae-prh/values.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/kubernetes/dcaegen2-services/components/dcae-prh/values.yaml b/kubernetes/dcaegen2-services/components/dcae-prh/values.yaml
index d1f3f2a84a..5b608943ab 100644
--- a/kubernetes/dcaegen2-services/components/dcae-prh/values.yaml
+++ b/kubernetes/dcaegen2-services/components/dcae-prh/values.yaml
@@ -101,6 +101,8 @@ customEnvVars:
value: "Basic `echo -n ${AAI_USER}:${AAI_PASSWORD} | base64`"
# initial application configuration
+# Configuration used for in-app substitution must be defined as $${undefined}{<parameter>} under applicationConfig
+# inorder to get ${<parameter>} post envsubst (done part of dcae helm service-common templates)
applicationConfig:
dmaap.dmaapConsumerConfiguration.dmaapContentType: "application/json"
dmaap.dmaapConsumerConfiguration.consumerId: "c12"
@@ -118,7 +120,7 @@ applicationConfig:
aai.aaiClientConfiguration.aaiIgnoreSslCertificateErrors: true
aai.aaiClientConfiguration.aaiBasePath: "/aai/v12"
aai.aaiClientConfiguration.aaiPnfPath: "/network/pnfs/pnf"
- aai.aaiClientConfiguration.aaiServiceInstancePath: "/business/customers/customer/${customer}/service-subscriptions/service-subscription/${serviceType}/service-instances/service-instance/${serviceInstanceId}"
+ aai.aaiClientConfiguration.aaiServiceInstancePath: "/business/customers/customer/$${undefined}{customer}/service-subscriptions/service-subscription/$${undefined}{serviceType}/service-instances/service-instance/$${undefined}{serviceInstanceId}"
aai.aaiClientConfiguration.aaiHeaders:
X-FromAppId: "prh"
X-TransactionId: "9999"