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 | kafka: |
Sirisha_Manchikanti | b402a59 | 2022-09-09 12:01:20 +0100 | [diff] [blame^] | 25 | consumer: |
| 26 | group-id: {{ .Values.config.kafka.consumer.groupId }} |
| 27 | {{- if .Values.config.useStrimziKafka }} |
Sirisha_Manchikanti | 73c5f00 | 2022-07-25 17:04:45 +0100 | [diff] [blame] | 28 | bootstrap-servers: {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092 |
| 29 | security.protocol: SASL_PLAINTEXT |
| 30 | properties.sasl: |
| 31 | mechanism: SCRAM-SHA-512 |
| 32 | jaas.config: ${JAASLOGIN} |
| 33 | {{ else }} |
Sirisha_Manchikanti | b402a59 | 2022-09-09 12:01:20 +0100 | [diff] [blame^] | 34 | {{ toYaml .Values.config.eventConsumption | nindent 2 }} |
Sirisha_Manchikanti | 73c5f00 | 2022-07-25 17:04:45 +0100 | [diff] [blame] | 35 | {{- end }} |
| 36 | |
rameshiyer27 | 01b8cc0 | 2021-09-21 15:07:50 +0100 | [diff] [blame] | 37 | security: |
| 38 | enable-csrf: false |
| 39 | |
| 40 | participant: |
| 41 | localChartDirectory: /home/policy/local-charts |
| 42 | infoFileName: CHART_INFO.json |
| 43 | intermediaryParameters: |
| 44 | reportingTimeIntervalMs: 120000 |
| 45 | description: Participant Description |
| 46 | participantId: |
| 47 | name: K8sParticipant0 |
| 48 | version: 1.0.0 |
| 49 | participantType: |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 50 | name: org.onap.policy.clamp.acm.KubernetesParticipant |
rameshiyer27 | 01b8cc0 | 2021-09-21 15:07:50 +0100 | [diff] [blame] | 51 | version: 2.3.4 |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 52 | clampAutomationCompositionTopics: |
rameshiyer27 | 01b8cc0 | 2021-09-21 15:07:50 +0100 | [diff] [blame] | 53 | topicSources: |
| 54 | - |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 55 | topic: POLICY-ACRUNTIME-PARTICIPANT |
rameshiyer27 | 01b8cc0 | 2021-09-21 15:07:50 +0100 | [diff] [blame] | 56 | servers: |
| 57 | - ${topicServer:message-router} |
| 58 | topicCommInfrastructure: dmaap |
| 59 | fetchTimeout: 15000 |
| 60 | useHttps: true |
| 61 | topicSinks: |
| 62 | - |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 63 | topic: POLICY-ACRUNTIME-PARTICIPANT |
rameshiyer27 | 01b8cc0 | 2021-09-21 15:07:50 +0100 | [diff] [blame] | 64 | servers: |
| 65 | - ${topicServer:message-router} |
| 66 | topicCommInfrastructure: dmaap |
| 67 | useHttps: true |
| 68 | |
Sirisha_Manchikanti | b402a59 | 2022-09-09 12:01:20 +0100 | [diff] [blame^] | 69 | # If Strimzi Kafka to be used for communication, replace clampAutomationCompositionTopics configuration with below |
| 70 | # clampAutomationCompositionTopics: |
| 71 | # topicSources: |
| 72 | # - |
| 73 | # topic: policy-acruntime-participant |
| 74 | # servers: |
| 75 | # - {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092 |
| 76 | # topicCommInfrastructure: kafka |
| 77 | # fetchTimeout: 15000 |
| 78 | # useHttps: true |
| 79 | # additionalProps: |
| 80 | # security.protocol: SASL_PLAINTEXT |
| 81 | # sasl.mechanism: SCRAM-SHA-512 |
| 82 | # sasl.jaas.config: ${JAASLOGIN} |
| 83 | # topicSinks: |
| 84 | # - |
| 85 | # topic: policy-acruntime-participant |
| 86 | # servers: |
| 87 | # - {{ include "common.release" . }}-{{ .Values.config.kafkaBootstrap }}:9092 |
| 88 | # topicCommInfrastructure: kafka |
| 89 | # useHttps: true |
| 90 | # additionalProps: |
| 91 | # security.protocol: SASL_PLAINTEXT |
| 92 | # sasl.mechanism: SCRAM-SHA-512 |
| 93 | # sasl.jaas.config: ${JAASLOGIN} |
| 94 | |
FrancescoFioraEst | 9c79e26 | 2022-02-22 13:12:19 +0000 | [diff] [blame] | 95 | management: |
| 96 | endpoints: |
| 97 | web: |
| 98 | exposure: |
| 99 | include: health, metrics, prometheus |
| 100 | |
rameshiyer27 | 01b8cc0 | 2021-09-21 15:07:50 +0100 | [diff] [blame] | 101 | server: |
| 102 | # Configuration of the HTTP/REST server. The parameters are defined and handled by the springboot framework. |
| 103 | # See springboot documentation. |
| 104 | port: 8083 |
Lathish | 738ed77 | 2022-02-15 20:12:09 +0530 | [diff] [blame] | 105 | servlet: |
| 106 | context-path: /onap/policy/clamp/acm/k8sparticipant |
rameshiyer27 | 01b8cc0 | 2021-09-21 15:07:50 +0100 | [diff] [blame] | 107 | |
Lathish | 738ed77 | 2022-02-15 20:12:09 +0530 | [diff] [blame] | 108 | logging: |
| 109 | # Configuration of logging |
| 110 | level: |
Lathish | e999dad | 2022-02-28 10:34:46 +0000 | [diff] [blame] | 111 | ROOT: INFO |
Lathish | 738ed77 | 2022-02-15 20:12:09 +0530 | [diff] [blame] | 112 | org.springframework: ERROR |
| 113 | org.springframework.data: ERROR |
| 114 | org.springframework.web.reactive.function.client.ExchangeFunctions: ERROR |
| 115 | org.onap.policy.clamp.controlloop.participant.kubernetes: INFO |
| 116 | |
| 117 | file: |
| 118 | name: /var/log/onap/policy/clamp/application.log |
| 119 | |
| 120 | chart: |
| 121 | api: |
Lathish | e999dad | 2022-02-28 10:34:46 +0000 | [diff] [blame] | 122 | enabled: false |
| 123 | |
rameshiyer27 | 3c81b1d | 2022-07-18 16:54:51 +0100 | [diff] [blame] | 124 | # Permitted list of helm repositories. Values are updated from values.yaml |