blob: a3b82e70fbe23182d4a4bae439f5807f3d340813 [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:
liamfallon72ffede2022-10-20 11:19:18 +010020 autoconfigure:
21 exclude: >
22 org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,
23 org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration,
24 org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration
rameshiyer2701b8cc02021-09-21 15:07:50 +010025 security:
26 user:
27 name: ${RESTSERVER_USER}
28 password: ${RESTSERVER_PASSWORD}
Sirisha_Manchikanti73c5f002022-07-25 17:04:45 +010029 kafka:
Sirisha_Manchikantib402a592022-09-09 12:01:20 +010030 consumer:
31 group-id: {{ .Values.config.kafka.consumer.groupId }}
32{{- if .Values.config.useStrimziKafka }}
Sirisha_Manchikanti73c5f002022-07-25 17:04:45 +010033 bootstrap-servers: {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092
34 security.protocol: SASL_PLAINTEXT
35 properties.sasl:
36 mechanism: SCRAM-SHA-512
37 jaas.config: ${JAASLOGIN}
38{{ else }}
Sirisha_Manchikantib402a592022-09-09 12:01:20 +010039{{ toYaml .Values.config.eventConsumption | nindent 2 }}
Sirisha_Manchikanti73c5f002022-07-25 17:04:45 +010040{{- end }}
41
rameshiyer2701b8cc02021-09-21 15:07:50 +010042security:
43 enable-csrf: false
44
45participant:
46 localChartDirectory: /home/policy/local-charts
47 infoFileName: CHART_INFO.json
48 intermediaryParameters:
49 reportingTimeIntervalMs: 120000
50 description: Participant Description
51 participantId:
52 name: K8sParticipant0
53 version: 1.0.0
54 participantType:
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000055 name: org.onap.policy.clamp.acm.KubernetesParticipant
rameshiyer2701b8cc02021-09-21 15:07:50 +010056 version: 2.3.4
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000057 clampAutomationCompositionTopics:
rameshiyer2701b8cc02021-09-21 15:07:50 +010058 topicSources:
59 -
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000060 topic: POLICY-ACRUNTIME-PARTICIPANT
rameshiyer2701b8cc02021-09-21 15:07:50 +010061 servers:
62 - ${topicServer:message-router}
63 topicCommInfrastructure: dmaap
64 fetchTimeout: 15000
efiacor2123fec2022-12-09 13:40:55 +000065 useHttps: "false"
rameshiyer2701b8cc02021-09-21 15:07:50 +010066 topicSinks:
67 -
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000068 topic: POLICY-ACRUNTIME-PARTICIPANT
rameshiyer2701b8cc02021-09-21 15:07:50 +010069 servers:
70 - ${topicServer:message-router}
71 topicCommInfrastructure: dmaap
efiacor2123fec2022-12-09 13:40:55 +000072 useHttps: "false"
rameshiyer2701b8cc02021-09-21 15:07:50 +010073
Sirisha_Manchikantib402a592022-09-09 12:01:20 +010074# If Strimzi Kafka to be used for communication, replace clampAutomationCompositionTopics configuration with below
75# clampAutomationCompositionTopics:
76# topicSources:
77# -
78# topic: policy-acruntime-participant
79# servers:
80# - {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092
81# topicCommInfrastructure: kafka
82# fetchTimeout: 15000
83# useHttps: true
84# additionalProps:
85# security.protocol: SASL_PLAINTEXT
86# sasl.mechanism: SCRAM-SHA-512
87# sasl.jaas.config: ${JAASLOGIN}
88# topicSinks:
89# -
90# topic: policy-acruntime-participant
91# servers:
92# - {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092
93# topicCommInfrastructure: kafka
94# useHttps: true
95# additionalProps:
96# security.protocol: SASL_PLAINTEXT
97# sasl.mechanism: SCRAM-SHA-512
98# sasl.jaas.config: ${JAASLOGIN}
99
FrancescoFioraEst9c79e262022-02-22 13:12:19 +0000100management:
101 endpoints:
102 web:
103 exposure:
104 include: health, metrics, prometheus
105
rameshiyer2701b8cc02021-09-21 15:07:50 +0100106server:
107 # Configuration of the HTTP/REST server. The parameters are defined and handled by the springboot framework.
108 # See springboot documentation.
109 port: 8083
Lathish738ed772022-02-15 20:12:09 +0530110 servlet:
111 context-path: /onap/policy/clamp/acm/k8sparticipant
amatthews736bf372021-12-14 16:04:15 +0000112 ssl:
113 enabled: {{ (eq "true" (include "common.needTLS" .)) | ternary true false }}
114
rameshiyer2701b8cc02021-09-21 15:07:50 +0100115
Lathish738ed772022-02-15 20:12:09 +0530116logging:
117 # Configuration of logging
118 level:
Lathishe999dad2022-02-28 10:34:46 +0000119 ROOT: INFO
Lathish738ed772022-02-15 20:12:09 +0530120 org.springframework: ERROR
121 org.springframework.data: ERROR
122 org.springframework.web.reactive.function.client.ExchangeFunctions: ERROR
123 org.onap.policy.clamp.controlloop.participant.kubernetes: INFO
124
125 file:
126 name: /var/log/onap/policy/clamp/application.log
127
128chart:
129 api:
Lathishe999dad2022-02-28 10:34:46 +0000130 enabled: false
131
rameshiyer273c81b1d2022-07-18 16:54:51 +0100132# Permitted list of helm repositories. Values are updated from values.yaml