cef5200eb6653914bcf7815a36c14e9204f00836
[oom.git] / kubernetes / policy / components / policy-clamp-ac-kserve-ppnt / values.yaml
1 #  ============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 #################################################################
22 global:
23   persistence: {}
24   #Strimzi Kafka properties
25   useStrimziKafka: set-via-parent-chart-global-value
26   kafkaTopics:
27     acRuntimeTopic:
28       name: &acRuntimeTopic policy.clamp-runtime-acm
29
30 #################################################################
31 # Secrets metaconfig
32 #################################################################
33 secrets:
34   - uid: restserver-secret
35     type: basicAuth
36     externalSecret: '{{ tpl (default "" .Values.restServer.credsExternalSecret) . }}'
37     login: '{{ .Values.restServer.user }}'
38     password: '{{ .Values.restServer.password }}'
39     passwordPolicy: required
40
41 #################################################################
42 # Application configuration defaults.
43 #################################################################
44 # application image
45 image: onap/policy-clamp-ac-kserve-ppnt:6.4.1
46 pullPolicy: Always
47
48 componentName: &componentName policy-clamp-ac-kserve-ppnt
49
50 # application configuration
51 restServer:
52   user: participantUser
53   password: zb!XztG34
54
55 # flag to enable debugging - application support required
56 debugEnabled: false
57
58 # default number of instances
59 replicaCount: 1
60
61 nodeSelector: {}
62
63 affinity: {}
64 ingress:
65   enabled: false
66
67 # probe configuration parameters
68 liveness:
69   initialDelaySeconds: 20
70   periodSeconds: 10
71   # necessary to disable liveness probe when setting breakpoints
72   # in debugger so K8s doesn't restart unresponsive container
73   enabled: true
74   port: kserve-api
75
76 readiness:
77   initialDelaySeconds: 20
78   periodSeconds: 10
79   port: kserve-api
80
81 service:
82   type: ClusterIP
83   name: *componentName
84   ports:
85     - name: kserve-api
86       port: 8087
87
88 flavor: small
89 resources:
90   small:
91     limits:
92       cpu: 1
93       memory: 4Gi
94     requests:
95       cpu: 100m
96       memory: 1Gi
97   large:
98     limits:
99       cpu: 2
100       memory: 8Gi
101     requests:
102       cpu: 200m
103       memory: 2Gi
104   unlimited: {}
105 #Pods Service Account
106 serviceAccount:
107   nameOverride: *componentName
108   roles:
109     - create
110
111 config:
112 # Any new property can be added in the env by setting in overrides in the format mentioned below
113 # All the added properties must be in "key: value" format instead of yaml.
114 # additional:
115 #   spring.config.max-size: 200
116 #   spring.config.min-size: 10
117 # Strimzi Kafka config
118 kafkaUser:
119   authenticationType: scram-sha-512
120   acls:
121     - name: *componentName
122       type: group
123       operations: [Read]
124     - name: *acRuntimeTopic
125       type: topic
126       operations: [Read, Write]
127
128 readinessCheck:
129   wait_for:
130     - message-router