Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / policy / components / policy-clamp-ac-http-ppnt / values.yaml
1 #  ============LICENSE_START=======================================================
2 #   Copyright (C) 2021-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   kafkaTopics:
26     acRuntimeTopic:
27       name: &acRuntimeTopic policy.clamp-runtime-acm
28
29 #################################################################
30 # Secrets metaconfig
31 #################################################################
32 secrets:
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
39
40 #################################################################
41 # Application configuration defaults.
42 #################################################################
43 # application image
44 image: onap/policy-clamp-ac-http-ppnt:7.1.0
45 pullPolicy: Always
46
47 componentName: &componentName policy-clamp-ac-http-ppnt
48
49 # application configuration
50 restServer:
51   user: participantUser
52   password: zb!XztG34
53
54 # flag to enable debugging - application support required
55 debugEnabled: false
56
57 # default number of instances
58 replicaCount: 1
59
60 nodeSelector: {}
61
62 affinity: {}
63 ingress:
64   enabled: false
65
66 serviceMesh:
67   authorizationPolicy:
68     authorizedPrincipals:
69       - serviceAccount: strimzi-kafka-read
70
71 # probe configuration parameters
72 liveness:
73   initialDelaySeconds: 60
74   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: http-api
79
80 readiness:
81   initialDelaySeconds: 60
82   periodSeconds: 10
83   port: http-api
84
85 service:
86   type: ClusterIP
87   name: *componentName
88   ports:
89     - name: http-api
90       port: 8084
91
92 flavor: small
93 resources:
94   small:
95     limits:
96       cpu: "1"
97       memory: "1Gi"
98     requests:
99       cpu: "0.5"
100       memory: "1Gi"
101   large:
102     limits:
103       cpu: "2"
104       memory: "2Gi"
105     requests:
106       cpu: "1"
107       memory: "2Gi"
108   unlimited: {}
109 #Pods Service Account
110 serviceAccount:
111   nameOverride: *componentName
112   roles:
113     - read
114
115 config:
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
122 # Strimzi Kafka config
123 kafkaUser:
124   authenticationType: scram-sha-512
125   acls:
126     - name: *componentName
127       type: group
128       operations: [Read]
129     - name: *acRuntimeTopic
130       type: topic
131       operations: [Read, Write]