summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrameshiyer27 <ramesh.murugan.iyer@est.tech>2023-10-06 10:48:28 +0100
committerAndreas Geissler <andreas-geissler@telekom.de>2023-10-18 11:55:39 +0000
commit6b20c090a9a5b67d319589479369da281aed4510 (patch)
tree1ff600c05cc0b7d7ea9362996ace16b3c100b3e9
parent7a24e5fedfafeab43c80403759507960abb3c2b0 (diff)
[POLICY] Add configurable acm parameters
Added parameters for custom naming in runtime helm chart Issue-ID: POLICY-4830 Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech> Change-Id: I88022b0fa54cc41d7abc8e27bee241e10d75250a
-rw-r--r--kubernetes/policy/components/policy-clamp-runtime-acm/resources/config/acRuntimeParameters.yaml3
-rw-r--r--kubernetes/policy/components/policy-clamp-runtime-acm/values.yaml4
2 files changed, 7 insertions, 0 deletions
diff --git a/kubernetes/policy/components/policy-clamp-runtime-acm/resources/config/acRuntimeParameters.yaml b/kubernetes/policy/components/policy-clamp-runtime-acm/resources/config/acRuntimeParameters.yaml
index 0dc7a39db0..96cb265567 100644
--- a/kubernetes/policy/components/policy-clamp-runtime-acm/resources/config/acRuntimeParameters.yaml
+++ b/kubernetes/policy/components/policy-clamp-runtime-acm/resources/config/acRuntimeParameters.yaml
@@ -109,6 +109,9 @@ runtime:
servers:
- ${topicServer:message-router}
{{ end }}
+ acmParameters:
+ toscaElementName: {{ .Values.customNaming.toscaElementName }}
+ toscaCompositionName: {{ .Values.customNaming.toscaCompositionName }}
management:
endpoints:
diff --git a/kubernetes/policy/components/policy-clamp-runtime-acm/values.yaml b/kubernetes/policy/components/policy-clamp-runtime-acm/values.yaml
index 34c128e343..46328931fc 100644
--- a/kubernetes/policy/components/policy-clamp-runtime-acm/values.yaml
+++ b/kubernetes/policy/components/policy-clamp-runtime-acm/values.yaml
@@ -156,3 +156,7 @@ readinessCheck:
wait_for_job_container:
containers:
- '{{ include "common.release" . }}-policy-galera-config'
+
+customNaming:
+ toscaElementName: org.onap.policy.clamp.acm.AutomationCompositionElement
+ toscaCompositionName: org.onap.policy.clamp.acm.AutomationComposition \ No newline at end of file