Merge "[DMAAP] DMaaP ServiceMesh compatibility"
[oom.git] / kubernetes / policy / components / policy-clamp-ac-k8s-ppnt / resources / config / KubernetesParticipantParameters.yaml
1 #  ============LICENSE_START=======================================================
2 #   Copyright (C) 2021-2022 Nordix Foundation. All rights reserved.
3 #  ================================================================================
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
19 spring:
20   security:
21     user:
22       name: ${RESTSERVER_USER}
23       password: ${RESTSERVER_PASSWORD}
24 {{- 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 }}
38 security:
39   enable-csrf: false
40
41 participant:
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:
51       name: org.onap.policy.clamp.acm.KubernetesParticipant
52       version: 2.3.4
53     clampAutomationCompositionTopics:
54       topicSources:
55         -
56           topic: POLICY-ACRUNTIME-PARTICIPANT
57           servers:
58             - ${topicServer:message-router}
59           topicCommInfrastructure: dmaap
60           fetchTimeout: 15000
61           useHttps: true
62       topicSinks:
63         -
64           topic: POLICY-ACRUNTIME-PARTICIPANT
65           servers:
66             - ${topicServer:message-router}
67           topicCommInfrastructure: dmaap
68           useHttps: true
69
70 management:
71   endpoints:
72     web:
73       exposure:
74         include: health, metrics, prometheus
75
76 server:
77   # Configuration of the HTTP/REST server. The parameters are defined and handled by the springboot framework.
78   # See springboot documentation.
79   port: 8083
80   servlet:
81     context-path: /onap/policy/clamp/acm/k8sparticipant
82
83 logging:
84   # Configuration of logging
85   level:
86     ROOT: INFO
87     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
95 chart:
96   api:
97     enabled: false
98
99 # Permitted list of helm repositories. Values are updated from values.yaml