e007afb65737e9916868ab6033b2e524ea1c4a02
[policy/docker.git] / helm / policy / values.yaml
1 # Copyright © 2022-2023 Nordix Foundation
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
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 #################################################################
16 # Global configuration defaults.
17 #################################################################
18
19 global:
20   aafEnabled: false
21   mariadb:
22     # '&mariadbConfig' means we "store" the values for  later use in the file
23     # with '*mariadbConfig' pointer.
24     config: &mariadbConfig
25       mysqlDatabase: policyadmin
26     service: &mariadbService
27       name: &mariadb-galera mariadb-galera
28       internalPort: 3306
29   prometheusEnabled: false
30   kafkaBootstrap: strimzi-kafka-bootstrap
31   policyKafkaUser: policy-kafka-user
32
33
34 policy-models-simulator:
35   enabled: true
36 policy-clamp-ac-k8s-ppnt:
37   enabled: false
38 policy-clamp-runtime-acm:
39   enabled: false
40 policy-api:
41   enabled: false
42 policy-pap:
43   enabled: false
44 policy-apex-pdp:
45   enabled: false
46 policy-clamp-ac-pf-ppnt:
47   enabled: false
48 policy-drools-pdp:
49   enabled: false
50 policy-xacml-pdp:
51   enabled: false
52 policy-distribution:
53   enabled: false
54 policy-clamp-ac-http-ppnt:
55   enabled: false
56 policy-clamp-ac-kserve-ppnt:
57   enabled: false
58 policy-clamp-ac-a1pms-ppnt:
59   enabled: false
60
61 #################################################################
62 # DB configuration defaults.
63 #################################################################
64
65 repository: nexus3.onap.org:10001
66 pullPolicy: Always
67
68 dockerRepository: docker.io
69
70 mariadb:
71   image: mariadb:10.5.8
72
73 dbmigrator:
74   image: onap/policy-db-migrator:2.6-SNAPSHOT-latest
75   schema: policyadmin
76   policy_home: "/opt/app/policy"
77
78 subChartsOnly:
79   enabled: true
80
81 # flag to enable debugging - application support required
82 debugEnabled: false
83
84 # default number of instances
85 #replicaCount: 1
86
87 nodeSelector: {}
88
89 affinity: {}
90
91 # probe configuration parameters
92 liveness:
93   initialDelaySeconds: 10
94   periodSeconds: 10
95   # necessary to disable liveness probe when setting breakpoints
96   # in debugger so K8s doesn't restart unresponsive container
97   enabled: true
98
99 readiness:
100   image: onap/oom/readiness:3.0.1
101   initialDelaySeconds: 10
102   periodSeconds: 10
103
104
105 config:
106   policyAppUserName: runtimeUser
107   useStrimziKafka: true
108   acRuntimeTopic:
109     name: policy-acruntime-participant
110     partitions: 10
111     retentionMs: 7200000
112     segmentBytes: 1073741824
113     consumer:
114       groupId: policy-group
115   policyHeartbeatTopic:
116     name: policy-heartbeat
117     partitions: 10
118     retentionMs: 7200000
119     segmentBytes: 1073741824
120     consumer:
121       groupId: policy-group
122   policyNotificationTopic:
123     name: policy-notification
124     partitions: 10
125     retentionMs: 7200000
126     segmentBytes: 1073741824
127     consumer:
128       groupId: policy-group
129   someConfig: blah
130
131 mariadb-galera:
132   # mariadb-galera.config and global.mariadb.config must be equals
133   db:
134     user: policy-user
135     # password:
136     name: &mysqlDbName policyadmin
137   nameOverride: *mariadb-galera
138   # mariadb-galera.service and global.mariadb.service must be equals
139   service: *mariadbService
140   #replicaCount: 1
141   persistence:
142     enabled: true
143     mountSubPath: policy/maria/data
144   serviceAccount:
145     nameOverride: *mariadb-galera
146
147 restServer:
148   policyPapUserName: policyadmin
149   policyPapUserPassword: zb!XztG34
150   policyApiUserName: policyadmin
151   policyApiUserPassword: zb!XztG34
152
153 # Resource Limit flavor -By Default using small
154 # Segregation for Different environment (small, large, or unlimited)
155 flavor: small
156 resources:
157   small:
158     limits:
159       cpu: 1
160       memory: 4Gi
161     requests:
162       cpu: 100m
163       memory: 1Gi
164   unlimited: {}
165
166 #Pods Service Account
167 serviceAccount:
168   nameOverride: policy
169   roles:
170   - read