blob: 00451b94257c7235291740598082ee031d23bd9f [file] [log] [blame]
rameshiyer2701b8cc02021-09-21 15:07:50 +01001# ============LICENSE_START=======================================================
Lathish738ed772022-02-15 20:12:09 +05302# Copyright (C) 2021-2022 Nordix Foundation. All rights reserved.
rameshiyer2701b8cc02021-09-21 15:07:50 +01003# ================================================================================
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16# SPDX-License-Identifier: Apache-2.0
17# ============LICENSE_END=========================================================
18
19spring:
20 security:
21 user:
22 name: ${RESTSERVER_USER}
23 password: ${RESTSERVER_PASSWORD}
Sirisha_Manchikanti73c5f002022-07-25 17:04:45 +010024 kafka:
Sirisha_Manchikantib402a592022-09-09 12:01:20 +010025 consumer:
26 group-id: {{ .Values.config.kafka.consumer.groupId }}
27{{- if .Values.config.useStrimziKafka }}
Sirisha_Manchikanti73c5f002022-07-25 17:04:45 +010028 bootstrap-servers: {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092
29 security.protocol: SASL_PLAINTEXT
30 properties.sasl:
31 mechanism: SCRAM-SHA-512
32 jaas.config: ${JAASLOGIN}
33{{ else }}
Sirisha_Manchikantib402a592022-09-09 12:01:20 +010034{{ toYaml .Values.config.eventConsumption | nindent 2 }}
Sirisha_Manchikanti73c5f002022-07-25 17:04:45 +010035{{- end }}
36
rameshiyer2701b8cc02021-09-21 15:07:50 +010037security:
38 enable-csrf: false
39
40participant:
41 localChartDirectory: /home/policy/local-charts
42 infoFileName: CHART_INFO.json
43 intermediaryParameters:
44 reportingTimeIntervalMs: 120000
45 description: Participant Description
46 participantId:
47 name: K8sParticipant0
48 version: 1.0.0
49 participantType:
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000050 name: org.onap.policy.clamp.acm.KubernetesParticipant
rameshiyer2701b8cc02021-09-21 15:07:50 +010051 version: 2.3.4
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000052 clampAutomationCompositionTopics:
rameshiyer2701b8cc02021-09-21 15:07:50 +010053 topicSources:
54 -
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000055 topic: POLICY-ACRUNTIME-PARTICIPANT
rameshiyer2701b8cc02021-09-21 15:07:50 +010056 servers:
57 - ${topicServer:message-router}
58 topicCommInfrastructure: dmaap
59 fetchTimeout: 15000
60 useHttps: true
61 topicSinks:
62 -
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000063 topic: POLICY-ACRUNTIME-PARTICIPANT
rameshiyer2701b8cc02021-09-21 15:07:50 +010064 servers:
65 - ${topicServer:message-router}
66 topicCommInfrastructure: dmaap
67 useHttps: true
68
Sirisha_Manchikantib402a592022-09-09 12:01:20 +010069# If Strimzi Kafka to be used for communication, replace clampAutomationCompositionTopics configuration with below
70# clampAutomationCompositionTopics:
71# topicSources:
72# -
73# topic: policy-acruntime-participant
74# servers:
75# - {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092
76# topicCommInfrastructure: kafka
77# fetchTimeout: 15000
78# useHttps: true
79# additionalProps:
80# security.protocol: SASL_PLAINTEXT
81# sasl.mechanism: SCRAM-SHA-512
82# sasl.jaas.config: ${JAASLOGIN}
83# topicSinks:
84# -
85# topic: policy-acruntime-participant
86# servers:
87# - {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092
88# topicCommInfrastructure: kafka
89# useHttps: true
90# additionalProps:
91# security.protocol: SASL_PLAINTEXT
92# sasl.mechanism: SCRAM-SHA-512
93# sasl.jaas.config: ${JAASLOGIN}
94
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000095management:
96 endpoints:
97 web:
98 exposure:
99 include: health, metrics, prometheus
100
rameshiyer2701b8cc02021-09-21 15:07:50 +0100101server:
102 # Configuration of the HTTP/REST server. The parameters are defined and handled by the springboot framework.
103 # See springboot documentation.
104 port: 8083
Lathish738ed772022-02-15 20:12:09 +0530105 servlet:
106 context-path: /onap/policy/clamp/acm/k8sparticipant
rameshiyer2701b8cc02021-09-21 15:07:50 +0100107
Lathish738ed772022-02-15 20:12:09 +0530108logging:
109 # Configuration of logging
110 level:
Lathishe999dad2022-02-28 10:34:46 +0000111 ROOT: INFO
Lathish738ed772022-02-15 20:12:09 +0530112 org.springframework: ERROR
113 org.springframework.data: ERROR
114 org.springframework.web.reactive.function.client.ExchangeFunctions: ERROR
115 org.onap.policy.clamp.controlloop.participant.kubernetes: INFO
116
117 file:
118 name: /var/log/onap/policy/clamp/application.log
119
120chart:
121 api:
Lathishe999dad2022-02-28 10:34:46 +0000122 enabled: false
123
rameshiyer273c81b1d2022-07-18 16:54:51 +0100124# Permitted list of helm repositories. Values are updated from values.yaml