blob: f19ebf0cb5de8d016bdb666ea98378677bcd23f0 [file] [log] [blame]
aravind.est0879dfc2023-02-22 09:05:50 +00001# ============LICENSE_START=======================================================
2# Copyright (C) 2023 Nordix Foundation.
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#################################################################
20# Global configuration defaults.
21#################################################################
22global:
23 persistence: {}
aravind.est0879dfc2023-02-22 09:05:50 +000024 #Strimzi Kafka properties
aravind.est0879dfc2023-02-22 09:05:50 +000025 kafkaTopics:
26 acRuntimeTopic:
27 name: &acRuntimeTopic policy.clamp-runtime-acm
28
29#################################################################
30# Secrets metaconfig
31#################################################################
32secrets:
33 - uid: restserver-secret
34 type: basicAuth
35 externalSecret: '{{ tpl (default "" .Values.restServer.credsExternalSecret) . }}'
36 login: '{{ .Values.restServer.user }}'
37 password: '{{ .Values.restServer.password }}'
38 passwordPolicy: required
aravind.est0879dfc2023-02-22 09:05:50 +000039
40#################################################################
41# Application configuration defaults.
42#################################################################
43# application image
saul.gill82b27e62024-04-26 12:45:10 +010044image: onap/policy-clamp-ac-kserve-ppnt:7.1.2
aravind.est0879dfc2023-02-22 09:05:50 +000045pullPolicy: Always
46
aravind.est0879dfc2023-02-22 09:05:50 +000047componentName: &componentName policy-clamp-ac-kserve-ppnt
48
49# application configuration
50restServer:
51 user: participantUser
52 password: zb!XztG34
53
54# flag to enable debugging - application support required
55debugEnabled: false
56
57# default number of instances
58replicaCount: 1
59
60nodeSelector: {}
61
62affinity: {}
63ingress:
64 enabled: false
65
AndrewLamb7ef78ae2023-04-20 16:24:13 +010066serviceMesh:
67 authorizationPolicy:
68 authorizedPrincipals:
rameshiyer27bc8a6a42024-03-11 17:18:11 +000069 - serviceAccount: strimzi-kafka-read
AndrewLamb7ef78ae2023-04-20 16:24:13 +010070
aravind.est0879dfc2023-02-22 09:05:50 +000071# probe configuration parameters
72liveness:
Andreas Geisslerc50f0892023-06-14 14:21:31 +020073 initialDelaySeconds: 60
aravind.est0879dfc2023-02-22 09:05:50 +000074 periodSeconds: 10
75 # necessary to disable liveness probe when setting breakpoints
76 # in debugger so K8s doesn't restart unresponsive container
77 enabled: true
78 port: kserve-api
79
80readiness:
Andreas Geisslerc50f0892023-06-14 14:21:31 +020081 initialDelaySeconds: 60
aravind.est0879dfc2023-02-22 09:05:50 +000082 periodSeconds: 10
83 port: kserve-api
84
85service:
86 type: ClusterIP
87 name: *componentName
88 ports:
89 - name: kserve-api
90 port: 8087
aravind.est0879dfc2023-02-22 09:05:50 +000091
92flavor: small
93resources:
94 small:
95 limits:
Andreas Geissler47537432024-02-27 08:55:23 +010096 cpu: "1"
Andreas Geissler8cbb3d92024-03-12 16:44:56 +010097 memory: "700Mi"
aravind.est0879dfc2023-02-22 09:05:50 +000098 requests:
Andreas Geissler47537432024-02-27 08:55:23 +010099 cpu: "0.5"
Andreas Geissler8cbb3d92024-03-12 16:44:56 +0100100 memory: "700Mi"
aravind.est0879dfc2023-02-22 09:05:50 +0000101 large:
102 limits:
Andreas Geissler47537432024-02-27 08:55:23 +0100103 cpu: "2"
104 memory: "1.4Gi"
aravind.est0879dfc2023-02-22 09:05:50 +0000105 requests:
Andreas Geissler47537432024-02-27 08:55:23 +0100106 cpu: "1"
107 memory: "1.4Gi"
aravind.est0879dfc2023-02-22 09:05:50 +0000108 unlimited: {}
109#Pods Service Account
110serviceAccount:
111 nameOverride: *componentName
112 roles:
113 - create
114
115config:
116# Any new property can be added in the env by setting in overrides in the format mentioned below
117# All the added properties must be in "key: value" format instead of yaml.
118# additional:
119# spring.config.max-size: 200
120# spring.config.min-size: 10
121# Strimzi Kafka config
122kafkaUser:
123 authenticationType: scram-sha-512
124 acls:
125 - name: *componentName
126 type: group
127 operations: [Read]
128 - name: *acRuntimeTopic
129 type: topic
130 operations: [Read, Write]