Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / policy / components / policy-clamp-ac-k8s-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   nodePortPrefixExt: 304
24   persistence: {}
25   #Strimzi Kafka properties
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-k8s-ppnt:7.1.0
46 pullPolicy: Always
47
48 componentName: &componentName policy-clamp-ac-k8s-ppnt
49
50 # flag to enable debugging - application support required
51 debugEnabled: false
52
53 # application configuration
54 restServer:
55   user: participantUser
56   password: zb!XztG34
57
58 # default number of instances
59 replicaCount: 1
60
61 nodeSelector: {}
62
63 affinity: {}
64 # probe configuration parameters
65 liveness:
66   initialDelaySeconds: 60
67   periodSeconds: 10
68   # necessary to disable liveness probe when setting breakpoints
69   # in debugger so K8s doesn't restart unresponsive container
70   enabled: true
71   port: http-api
72
73 readiness:
74   initialDelaySeconds: 60
75   periodSeconds: 10
76   port: http-api
77
78 service:
79   type: ClusterIP
80   name: *componentName
81   ports:
82   - name: http-api
83     port: 8083
84
85 ingress:
86   enabled: false
87
88 serviceMesh:
89   authorizationPolicy:
90     authorizedPrincipals:
91       - serviceAccount: strimzi-kafka-read
92
93 flavor: small
94 resources:
95   small:
96     limits:
97       cpu: "1"
98       memory: "1Gi"
99     requests:
100       cpu: "0.5"
101       memory: "1Gi"
102   large:
103     limits:
104       cpu: "2"
105       memory: "2Gi"
106     requests:
107       cpu: "1"
108       memory: "2Gi"
109   unlimited: {}
110
111 #Pods Service Account
112 serviceAccount:
113   nameOverride: *componentName
114   roles:
115     - create
116 # Update the config here for permitting repositories and protocols
117 repoList:
118   helm:
119     repos:
120       -
121         repoName: kong
122         address: https://charts.konghq.com
123       -
124         repoName: bitnami
125         address: https://charts.bitnami.com/bitnami
126
127     protocols:
128       - http
129       - https
130
131 config:
132 # Any new property can be added in the env by setting in overrides in the format mentioned below
133 # All the added properties must be in "key: value" format instead of yaml.
134 # additional:
135 #   spring.config.max-size: 200
136 #   spring.config.min-size: 10
137
138 # Strimzi Kafka config
139 kafkaUser:
140   authenticationType: scram-sha-512
141   acls:
142     - name: *componentName
143       type: group
144       operations: [Read]
145     - name: *acRuntimeTopic
146       type: topic
147       operations: [Read, Write]
148