blob: 7227ee8dedb7beb9014081842dd9608c0c5930e1 [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}
24security:
25 enable-csrf: false
26
27participant:
28 localChartDirectory: /home/policy/local-charts
29 infoFileName: CHART_INFO.json
30 intermediaryParameters:
31 reportingTimeIntervalMs: 120000
32 description: Participant Description
33 participantId:
34 name: K8sParticipant0
35 version: 1.0.0
36 participantType:
37 name: org.onap.k8s.controlloop.K8SControlLoopParticipant
38 version: 2.3.4
39 clampControlLoopTopics:
40 topicSources:
41 -
42 topic: POLICY-CLRUNTIME-PARTICIPANT
43 servers:
44 - ${topicServer:message-router}
45 topicCommInfrastructure: dmaap
46 fetchTimeout: 15000
47 useHttps: true
48 topicSinks:
49 -
50 topic: POLICY-CLRUNTIME-PARTICIPANT
51 servers:
52 - ${topicServer:message-router}
53 topicCommInfrastructure: dmaap
54 useHttps: true
55
56server:
57 # Configuration of the HTTP/REST server. The parameters are defined and handled by the springboot framework.
58 # See springboot documentation.
59 port: 8083
Lathish738ed772022-02-15 20:12:09 +053060 servlet:
61 context-path: /onap/policy/clamp/acm/k8sparticipant
rameshiyer2701b8cc02021-09-21 15:07:50 +010062
Lathish738ed772022-02-15 20:12:09 +053063logging:
64 # Configuration of logging
65 level:
Lathishe999dad2022-02-28 10:34:46 +000066 ROOT: INFO
Lathish738ed772022-02-15 20:12:09 +053067 org.springframework: ERROR
68 org.springframework.data: ERROR
69 org.springframework.web.reactive.function.client.ExchangeFunctions: ERROR
70 org.onap.policy.clamp.controlloop.participant.kubernetes: INFO
71
72 file:
73 name: /var/log/onap/policy/clamp/application.log
74
75chart:
76 api:
Lathishe999dad2022-02-28 10:34:46 +000077 enabled: false
78
79# Sample Permitted list of helm repositories. Before deployment update the repositories where the helm charts are located.
80# The Kubernetes participant accept only HTTPS Address
81helm:
82 repos:
83 -
84 repoName: bitnami
85 address: https://charts.bitnami.com/bitnami