aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/components/policy-clamp-ac-k8s-ppnt
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/policy/components/policy-clamp-ac-k8s-ppnt')
-rw-r--r--kubernetes/policy/components/policy-clamp-ac-k8s-ppnt/Chart.yaml2
-rw-r--r--kubernetes/policy/components/policy-clamp-ac-k8s-ppnt/resources/config/KubernetesParticipantParameters.yaml21
-rw-r--r--kubernetes/policy/components/policy-clamp-ac-k8s-ppnt/values.yaml15
3 files changed, 29 insertions, 9 deletions
diff --git a/kubernetes/policy/components/policy-clamp-ac-k8s-ppnt/Chart.yaml b/kubernetes/policy/components/policy-clamp-ac-k8s-ppnt/Chart.yaml
index 5a1cb6e80b..09dadf2806 100644
--- a/kubernetes/policy/components/policy-clamp-ac-k8s-ppnt/Chart.yaml
+++ b/kubernetes/policy/components/policy-clamp-ac-k8s-ppnt/Chart.yaml
@@ -22,7 +22,7 @@
apiVersion: v2
description: ONAP Policy Clamp Controlloop K8s Participant
name: policy-clamp-ac-k8s-ppnt
-version: 14.0.1
+version: 15.0.0
dependencies:
- name: common
diff --git a/kubernetes/policy/components/policy-clamp-ac-k8s-ppnt/resources/config/KubernetesParticipantParameters.yaml b/kubernetes/policy/components/policy-clamp-ac-k8s-ppnt/resources/config/KubernetesParticipantParameters.yaml
index 14deab557b..4616d6643a 100644
--- a/kubernetes/policy/components/policy-clamp-ac-k8s-ppnt/resources/config/KubernetesParticipantParameters.yaml
+++ b/kubernetes/policy/components/policy-clamp-ac-k8s-ppnt/resources/config/KubernetesParticipantParameters.yaml
@@ -1,5 +1,5 @@
# ============LICENSE_START=======================================================
-# Copyright (C) 2021-2022 Nordix Foundation. All rights reserved.
+# Copyright (C) 2021-2022,2024 Nordix Foundation. All rights reserved.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -34,6 +34,9 @@ participant:
localChartDirectory: /home/policy/local-charts
infoFileName: CHART_INFO.json
intermediaryParameters:
+ topics:
+ operationTopic: {{ .Values.global.kafkaTopics.acRuntimeOperationTopic.name }}
+ syncTopic: {{ .Values.global.kafkaTopics.acRuntimeSyncTopic.name }}
reportingTimeIntervalMs: 120000
description: Participant Description
participantId: 101c62b3-8918-41b9-a747-d21eb79c6c02
@@ -42,7 +45,7 @@ participant:
-
useHttps: false
fetchTimeout: 15000
- topic: {{ .Values.global.kafkaTopics.acRuntimeTopic.name }}
+ topic: {{ .Values.global.kafkaTopics.acRuntimeOperationTopic.name }}
topicCommInfrastructure: kafka
servers:
- {{ include "common.release" . }}-{{ .Values.global.kafkaBootstrap }}
@@ -52,11 +55,23 @@ participant:
security.protocol: SASL_PLAINTEXT
sasl.mechanism: {{ .Values.kafkaUser.authenticationType | upper }}
sasl.jaas.config: ${SASL_JAAS_CONFIG}
+ -
+ useHttps: false
+ fetchTimeout: 15000
+ topic: {{ .Values.global.kafkaTopics.acRuntimeSyncTopic.name }}
+ topicCommInfrastructure: kafka
+ servers:
+ - {{ include "common.release" . }}-{{ .Values.global.kafkaBootstrap }}
+ additionalProps:
+ allow.auto.create.topics: false
+ security.protocol: SASL_PLAINTEXT
+ sasl.mechanism: {{ .Values.kafkaUser.authenticationType | upper }}
+ sasl.jaas.config: ${SASL_JAAS_CONFIG}
topicSinks:
-
useHttps: false
fetchTimeout: 15000
- topic: {{ .Values.global.kafkaTopics.acRuntimeTopic.name }}
+ topic: {{ .Values.global.kafkaTopics.acRuntimeOperationTopic.name }}
topicCommInfrastructure: kafka
servers:
- {{ include "common.release" . }}-{{ .Values.global.kafkaBootstrap }}
diff --git a/kubernetes/policy/components/policy-clamp-ac-k8s-ppnt/values.yaml b/kubernetes/policy/components/policy-clamp-ac-k8s-ppnt/values.yaml
index 5e43b94965..ea00a34dad 100644
--- a/kubernetes/policy/components/policy-clamp-ac-k8s-ppnt/values.yaml
+++ b/kubernetes/policy/components/policy-clamp-ac-k8s-ppnt/values.yaml
@@ -1,5 +1,5 @@
# ============LICENSE_START=======================================================
-# Copyright (C) 2021-2023 Nordix Foundation.
+# Copyright (C) 2021-2024 Nordix Foundation.
# Modifications Copyright © 2024 Deutsche Telekom
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -25,8 +25,10 @@ global:
persistence: {}
#Strimzi Kafka properties
kafkaTopics:
- acRuntimeTopic:
- name: &acRuntimeTopic policy.clamp-runtime-acm
+ acRuntimeOperationTopic:
+ name: &acRuntimeOperationTopic policy-acruntime-participant
+ acRuntimeSyncTopic:
+ name: &acRuntimeSyncTopic acm-ppnt-sync
#################################################################
# Secrets metaconfig
@@ -43,7 +45,7 @@ secrets:
# Application configuration defaults.
#################################################################
# application image
-image: onap/policy-clamp-ac-k8s-ppnt:7.1.3
+image: onap/policy-clamp-ac-k8s-ppnt:8.0.1
pullPolicy: Always
componentName: &componentName policy-clamp-ac-k8s-ppnt
@@ -153,6 +155,9 @@ kafkaUser:
- name: *componentName
type: group
operations: [Read]
- - name: *acRuntimeTopic
+ - name: *acRuntimeOperationTopic
+ type: topic
+ operations: [Read, Write]
+ - name: *acRuntimeSyncTopic
type: topic
operations: [Read, Write]