X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=kubernetes%2Fcps%2Fcomponents%2Fcps-temporal%2Fvalues.yaml;h=fc0e6292058b99b6adef1a46b6bce9e46053bfdc;hb=555db9c1f910db06341070941b466e6c05827e27;hp=8b3f16b64c6333e198a403271ae46335b689e723;hpb=e9546ad0553c10113b26aa5e0a4ecc72d4a36203;p=oom.git diff --git a/kubernetes/cps/components/cps-temporal/values.yaml b/kubernetes/cps/components/cps-temporal/values.yaml index 8b3f16b64c..fc0e629205 100644 --- a/kubernetes/cps/components/cps-temporal/values.yaml +++ b/kubernetes/cps/components/cps-temporal/values.yaml @@ -1,5 +1,6 @@ # ============LICENSE_START======================================================= # Copyright (c) 2021 Bell Canada. +# Modifications Copyright © 2022-2023 Nordix Foundation # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -40,7 +41,7 @@ secrets: password: '{{ .Values.config.appUserPassword }}' passwordPolicy: generate -image: onap/cps-temporal:1.0.0 +image: onap/cps-temporal:1.2.1 containerPort: &svc_port 8080 managementPort: &mgt_port 8081 @@ -82,15 +83,15 @@ replicaCount: 1 resources: small: limits: - cpu: 2 - memory: 2Gi + cpu: 999 + memory: 1Gi requests: cpu: 1 memory: 1Gi large: limits: - cpu: 4 - memory: 4Gi + cpu: 999 + memory: 2Gi requests: cpu: 2 memory: 2Gi @@ -114,7 +115,7 @@ readiness: ingress: enabled: true service: - - baseaddr: "cps-temporal" + - baseaddr: "cps-temporal-api" path: "/" name: "cps-temporal" port: *svc_port @@ -138,14 +139,9 @@ config: spring: profile: helm #appUserPassword: - - # Event consumption (kafka) properties - # All Kafka properties must be in "key: value" format instead of yaml. - eventConsumption: - spring.kafka.bootstrap-servers: message-router-kafka:9092 - spring.kafka.security.protocol: PLAINTEXT - spring.kafka.consumer.group-id: cps-temporal-group - app.listener.data-updated.topic: cps.data-updated-events + app: + listener: + dataUpdatedTopic: &dataUpdatedTopic cps.data-updated-events # Any new property can be added in the env by setting in overrides in the format mentioned below # All the added properties must be in "key: value" format instead of yaml. @@ -153,6 +149,23 @@ config: # spring.config.max-size: 200 # spring.config.min-size: 10 +# Strimzi Kafka config +kafkaUser: + authenticationType: scram-sha-512 + acls: + - name: cps-temporal-group + type: group + operations: [Read] + - name: *dataUpdatedTopic + type: topic + operations: [Read] + +kafkaTopic: + - name: *dataUpdatedTopic + # default values below can be overridden + retentionMs: 7200000 + segmentBytes: 1073741824 + logging: level: INFO path: /tmp