rameshiyer27 | 01b8cc0 | 2021-09-21 15:07:50 +0100 | [diff] [blame] | 1 | # ============LICENSE_START======================================================= |
Lathish | 738ed77 | 2022-02-15 20:12:09 +0530 | [diff] [blame] | 2 | # Copyright (C) 2021-2022 Nordix Foundation. All rights reserved. |
rameshiyer27 | 01b8cc0 | 2021-09-21 15:07:50 +0100 | [diff] [blame] | 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} |
Sirisha_Manchikanti | 73c5f00 | 2022-07-25 17:04:45 +0100 | [diff] [blame] | 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 }} |
rameshiyer27 | 01b8cc0 | 2021-09-21 15:07:50 +0100 | [diff] [blame] | 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: |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 51 | name: org.onap.policy.clamp.acm.KubernetesParticipant |
rameshiyer27 | 01b8cc0 | 2021-09-21 15:07:50 +0100 | [diff] [blame] | 52 | version: 2.3.4 |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 53 | clampAutomationCompositionTopics: |
rameshiyer27 | 01b8cc0 | 2021-09-21 15:07:50 +0100 | [diff] [blame] | 54 | topicSources: |
| 55 | - |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 56 | topic: POLICY-ACRUNTIME-PARTICIPANT |
rameshiyer27 | 01b8cc0 | 2021-09-21 15:07:50 +0100 | [diff] [blame] | 57 | servers: |
| 58 | - ${topicServer:message-router} |
| 59 | topicCommInfrastructure: dmaap |
| 60 | fetchTimeout: 15000 |
| 61 | useHttps: true |
| 62 | topicSinks: |
| 63 | - |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 64 | topic: POLICY-ACRUNTIME-PARTICIPANT |
rameshiyer27 | 01b8cc0 | 2021-09-21 15:07:50 +0100 | [diff] [blame] | 65 | servers: |
| 66 | - ${topicServer:message-router} |
| 67 | topicCommInfrastructure: dmaap |
| 68 | useHttps: true |
| 69 | |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 70 | management: |
| 71 | endpoints: |
| 72 | web: |
| 73 | exposure: |
| 74 | include: health, metrics, prometheus |
| 75 | |
rameshiyer27 | 01b8cc0 | 2021-09-21 15:07:50 +0100 | [diff] [blame] | 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 |
Lathish | 738ed77 | 2022-02-15 20:12:09 +0530 | [diff] [blame] | 80 | servlet: |
| 81 | context-path: /onap/policy/clamp/acm/k8sparticipant |
rameshiyer27 | 01b8cc0 | 2021-09-21 15:07:50 +0100 | [diff] [blame] | 82 | |
Lathish | 738ed77 | 2022-02-15 20:12:09 +0530 | [diff] [blame] | 83 | logging: |
| 84 | # Configuration of logging |
| 85 | level: |
Lathish | e999dad | 2022-02-28 10:34:46 +0000 | [diff] [blame] | 86 | ROOT: INFO |
Lathish | 738ed77 | 2022-02-15 20:12:09 +0530 | [diff] [blame] | 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: |
Lathish | e999dad | 2022-02-28 10:34:46 +0000 | [diff] [blame] | 97 | enabled: false |
| 98 | |
rameshiyer27 | 3c81b1d | 2022-07-18 16:54:51 +0100 | [diff] [blame] | 99 | # Permitted list of helm repositories. Values are updated from values.yaml |