Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / policy / components / policy-clamp-ac-kserve-ppnt / resources / config / KserveParticipantParameters.yaml
1 #  ============LICENSE_START=======================================================
2 #  Copyright (C) 2023 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   cloud:
20     kubernetes:
21       enabled: false
22     discovery:
23       enabled: false
24   security:
25     user:
26       name: ${RESTSERVER_USER}
27       password: ${RESTSERVER_PASSWORD}
28   autoconfigure:
29     exclude:
30       - org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration
31       - org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration
32       - org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration
33       - org.springframework.boot.autoconfigure.data.web.SpringDataWebAutoConfiguration
34       - io.kubernetes.client.spring.extended.manifests.config.KubernetesManifestsAutoConfiguration
35       - io.kubernetes.client.spring.extended.network.config.KubernetesLoadBalancerAutoConfiguration
36
37 security:
38   enable-csrf: false
39
40 participant:
41   intermediaryParameters:
42     reportingTimeIntervalMs: 120000
43     description: Participant Description
44     participantId: 101c62b3-8918-41b9-a747-d21eb79c6c04
45     clampAutomationCompositionTopics:
46       topicSources:
47         -
48           useHttps: false
49           fetchTimeout: 15000
50           topic: {{ .Values.global.kafkaTopics.acRuntimeTopic.name }}
51           topicCommInfrastructure: kafka
52           servers:
53             - {{ include "common.release" . }}-{{ .Values.global.kafkaBootstrap }}
54           additionalProps:
55             group.id: {{ (first .Values.kafkaUser.acls).name }}
56             allow.auto.create.topics: false
57             security.protocol: SASL_PLAINTEXT
58             sasl.mechanism: {{ .Values.kafkaUser.authenticationType | upper }}
59             sasl.jaas.config: ${SASL_JAAS_CONFIG}
60       topicSinks:
61         -
62           useHttps: false
63           fetchTimeout: 15000
64           topic: {{ .Values.global.kafkaTopics.acRuntimeTopic.name }}
65           topicCommInfrastructure: kafka
66           servers:
67             - {{ include "common.release" . }}-{{ .Values.global.kafkaBootstrap }}
68           additionalProps:
69             client.id: {{ (first .Values.kafkaUser.acls).name }}-client-id
70             security.protocol: SASL_PLAINTEXT
71             sasl.mechanism: {{ .Values.kafkaUser.authenticationType | upper }}
72             sasl.jaas.config: ${SASL_JAAS_CONFIG}
73     participantSupportedElementTypes:
74       -
75         typeName: org.onap.policy.clamp.acm.KserveAutomationCompositionElement
76         typeVersion: 1.0.1
77       -
78         typeName: org.onap.policy.clamp.acm.AutomationCompositionElement
79         typeVersion: 1.0.0
80
81 customresourcedefinition:
82   group: serving.kserve.io
83   version: v1beta1
84   plural: inferenceservices
85   grace-period: 10
86
87 management:
88   endpoints:
89     web:
90       base-path: /
91       exposure:
92         include: health, metrics, prometheus
93 server:
94   port: 8087
95   servlet:
96     context-path: /onap/policy/clamp/acm/kserveparticipant
97   ssl:
98     enabled: false
99
100