From 558b7f2176fe8a86e95b430ffcb32dcefb11d6b9 Mon Sep 17 00:00:00 2001 From: Michal Jagiello Date: Wed, 20 Sep 2023 07:21:12 +0200 Subject: [CPS] Unify way of KafkaTopic creation for CPS application Do not use static templates but "common.kafkatopic" template Issue-ID: OOM-3240 Signed-off-by: Michal Jagiello Change-Id: I67b2cfe839022795f8d7f6f42d2d8dc7e71653d6 --- kubernetes/cps/components/ncmp-dmi-plugin/Chart.yaml | 2 +- .../components/ncmp-dmi-plugin/templates/kafkatopic.yaml | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 kubernetes/cps/components/ncmp-dmi-plugin/templates/kafkatopic.yaml (limited to 'kubernetes/cps/components/ncmp-dmi-plugin') diff --git a/kubernetes/cps/components/ncmp-dmi-plugin/Chart.yaml b/kubernetes/cps/components/ncmp-dmi-plugin/Chart.yaml index bef04adb85..fb578590e0 100644 --- a/kubernetes/cps/components/ncmp-dmi-plugin/Chart.yaml +++ b/kubernetes/cps/components/ncmp-dmi-plugin/Chart.yaml @@ -21,7 +21,7 @@ apiVersion: v2 description: ONAP Configuration Persistance Service (CPS) - NCMP-DMI-Plugin name: ncmp-dmi-plugin -version: 13.0.0 +version: 13.0.1 dependencies: - name: common diff --git a/kubernetes/cps/components/ncmp-dmi-plugin/templates/kafkatopic.yaml b/kubernetes/cps/components/ncmp-dmi-plugin/templates/kafkatopic.yaml new file mode 100644 index 0000000000..7274ee02b2 --- /dev/null +++ b/kubernetes/cps/components/ncmp-dmi-plugin/templates/kafkatopic.yaml @@ -0,0 +1,16 @@ +{{/* +# Copyright © 2023 Deutsche Telekom AG +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +*/}} +{{ include "common.kafkatopic" . }} \ No newline at end of file -- cgit 1.2.3-korg