3b71737f62fd0874b2ee2ebea8f50d7d3fca9e31
[policy/docker.git] /
1 #  ============LICENSE_START=======================================================
2 #  Copyright (C) 2023-2024 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 #       http://www.apache.org/licenses/LICENSE-2.0
8
9 #  Unless required by applicable law or agreed to in writing, software
10 #  distributed under the License is distributed on an "AS IS" BASIS,
11 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 #  See the License for the specific language governing permissions and
13 #  limitations under the License.
14
15 #  SPDX-License-Identifier: Apache-2.0
16 #  ============LICENSE_END=========================================================
17
18 spring:
19   application:
20     name: kserve-ppnt
21   cloud:
22     kubernetes:
23       enabled: false
24     discovery:
25       enabled: false
26   security:
27     user:
28       name: ${RESTSERVER_USER}
29       password: ${RESTSERVER_PASSWORD}
30   autoconfigure:
31     exclude:
32       - org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration
33       - org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration
34       - org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration
35       - org.springframework.boot.autoconfigure.data.web.SpringDataWebAutoConfiguration
36       - io.kubernetes.client.spring.extended.manifests.config.KubernetesManifestsAutoConfiguration
37       - io.kubernetes.client.spring.extended.network.config.KubernetesLoadBalancerAutoConfiguration
38
39 security:
40   enable-csrf: false
41
42 participant:
43   intermediaryParameters:
44     topics:
45       operationTopic: policy-acruntime-participant
46       syncTopic: acm-ppnt-sync
47     reportingTimeIntervalMs: 120000
48     description: Participant Description
49     participantId: 101c62b3-8918-41b9-a747-d21eb79c6c04
50     clampAutomationCompositionTopics:
51       topicSources:
52         - topic: ${participant.intermediaryParameters.topics.operationTopic}
53           servers:
54             - "{{ .Values.global.kafkaServer }}:9092"
55           topicCommInfrastructure: kafka
56           fetchTimeout: 15000
57           allowTracing: {{ include "policy-clamp-ac-kserve-ppnt.jaeger-enabled" . }}
58           additionalProps:
59             group.id: policy-clamp-ac-kserve-ppnt
60         - topic: ${participant.intermediaryParameters.topics.syncTopic}
61           servers:
62             - "{{ .Values.global.kafkaServer }}:9092"
63           topicCommInfrastructure: kafka
64           allowTracing: {{ include "policy-clamp-ac-kserve-ppnt.jaeger-enabled" . }}
65           fetchTimeout: 15000
66       topicSinks:
67         - topic: ${participant.intermediaryParameters.topics.operationTopic}
68           servers:
69             - "{{ .Values.global.kafkaServer }}:9092"
70           topicCommInfrastructure: kafka
71           allowTracing: {{ include "policy-clamp-ac-kserve-ppnt.jaeger-enabled" . }}
72     participantSupportedElementTypes:
73       -
74         typeName: org.onap.policy.clamp.acm.KserveAutomationCompositionElement
75         typeVersion: 1.0.1
76
77 customresourcedefinition:
78   group: serving.kserve.io
79   version: v1beta1
80   plural: inferenceservices
81   grace-period: 10
82
83 management:
84   tracing:
85     propagation:
86       produce: [{{ .Values.jaeger.producer.type }}]
87     sampling:
88       probability: {{ .Values.jaeger.sampling.probability }}
89   endpoints:
90     web:
91       base-path: /
92       exposure:
93         include: health, metrics, prometheus
94 server:
95   port: 8087
96   servlet:
97     context-path: /onap/policy/clamp/acm/kserveparticipant
98   ssl:
99     enabled: false
100
101
102 tracing:
103   enabled: {{ .Values.jaeger.enabled }}
104   exporter:
105     endpoint: {{ .Values.jaeger.collector.host }}:{{ include "policy-clamp-ac-kserve-ppnt.exporter-port" . }}
106     protocol: {{ .Values.jaeger.collector.protocol }}
107   sampler:
108     jaeger-remote:
109       endpoint: {{ .Values.jaeger.collector.host }}:{{ .Values.jaeger.collector.portJaegerGrpc }}