blob: 6c14fd2207d1a7460a6f80a0c7cc54e36ce23fa7 [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{{- if .Values.config.useStrimziKafka }}
25 kafka:
26 bootstrap-servers: {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092
27 security.protocol: SASL_PLAINTEXT
28 properties.sasl:
29 mechanism: SCRAM-SHA-512
30 jaas.config: ${JAASLOGIN}
31{{ else }}
32{{ toYaml .Values.config.eventPublisher | nindent 2 }}
33{{- end }}
34
35{{- if .Values.config.additional }}
36{{ toYaml .Values.config.additional | nindent 2 }}
37{{- end }}
rameshiyer2701b8cc02021-09-21 15:07:50 +010038security:
39 enable-csrf: false
40
41participant:
42 localChartDirectory: /home/policy/local-charts
43 infoFileName: CHART_INFO.json
44 intermediaryParameters:
45 reportingTimeIntervalMs: 120000
46 description: Participant Description
47 participantId:
48 name: K8sParticipant0
49 version: 1.0.0
50 participantType:
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000051 name: org.onap.policy.clamp.acm.KubernetesParticipant
rameshiyer2701b8cc02021-09-21 15:07:50 +010052 version: 2.3.4
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000053 clampAutomationCompositionTopics:
rameshiyer2701b8cc02021-09-21 15:07:50 +010054 topicSources:
55 -
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000056 topic: POLICY-ACRUNTIME-PARTICIPANT
rameshiyer2701b8cc02021-09-21 15:07:50 +010057 servers:
58 - ${topicServer:message-router}
59 topicCommInfrastructure: dmaap
60 fetchTimeout: 15000
61 useHttps: true
62 topicSinks:
63 -
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000064 topic: POLICY-ACRUNTIME-PARTICIPANT
rameshiyer2701b8cc02021-09-21 15:07:50 +010065 servers:
66 - ${topicServer:message-router}
67 topicCommInfrastructure: dmaap
68 useHttps: true
69
FrancescoFioraEst9c79e262022-02-22 13:12:19 +000070management:
71 endpoints:
72 web:
73 exposure:
74 include: health, metrics, prometheus
75
rameshiyer2701b8cc02021-09-21 15:07:50 +010076server:
77 # Configuration of the HTTP/REST server. The parameters are defined and handled by the springboot framework.
78 # See springboot documentation.
79 port: 8083
Lathish738ed772022-02-15 20:12:09 +053080 servlet:
81 context-path: /onap/policy/clamp/acm/k8sparticipant
rameshiyer2701b8cc02021-09-21 15:07:50 +010082
Lathish738ed772022-02-15 20:12:09 +053083logging:
84 # Configuration of logging
85 level:
Lathishe999dad2022-02-28 10:34:46 +000086 ROOT: INFO
Lathish738ed772022-02-15 20:12:09 +053087 org.springframework: ERROR
88 org.springframework.data: ERROR
89 org.springframework.web.reactive.function.client.ExchangeFunctions: ERROR
90 org.onap.policy.clamp.controlloop.participant.kubernetes: INFO
91
92 file:
93 name: /var/log/onap/policy/clamp/application.log
94
95chart:
96 api:
Lathishe999dad2022-02-28 10:34:46 +000097 enabled: false
98
rameshiyer273c81b1d2022-07-18 16:54:51 +010099# Permitted list of helm repositories. Values are updated from values.yaml