From 6b20c090a9a5b67d319589479369da281aed4510 Mon Sep 17 00:00:00 2001 From: rameshiyer27 Date: Fri, 6 Oct 2023 10:48:28 +0100 Subject: [POLICY] Add configurable acm parameters Added parameters for custom naming in runtime helm chart Issue-ID: POLICY-4830 Signed-off-by: rameshiyer27 Change-Id: I88022b0fa54cc41d7abc8e27bee241e10d75250a --- .../resources/config/acRuntimeParameters.yaml | 3 +++ kubernetes/policy/components/policy-clamp-runtime-acm/values.yaml | 4 ++++ 2 files changed, 7 insertions(+) (limited to 'kubernetes') 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 -- cgit 1.2.3-korg