Add helm charts for distribution and http-ppnt in CSIT
[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: true
38 policy-clamp-runtime-acm:
39   enabled: true
40 policy-api:
41   enabled: true
42 policy-pap:
43   enabled: true
44 policy-apex-pdp:
45   enabled: true
46 policy-clamp-ac-pf-ppnt:
47   enabled: true
48 policy-drools-pdp:
49   enabled: true
50 policy-xacml-pdp:
51   enabled: true
52 policy-distribution:
53   enabled: true
54 policy-clamp-ac-http-ppnt:
55   enabled: true
56
57 #################################################################
58 # DB configuration defaults.
59 #################################################################
60
61 repository: nexus3.onap.org:10001
62 pullPolicy: Always
63
64 dockerRepository: docker.io
65
66 mariadb:
67   image: mariadb:10.5.8
68
69 dbmigrator:
70   image: onap/policy-db-migrator:2.6-SNAPSHOT-latest
71   schema: policyadmin
72   policy_home: "/opt/app/policy"
73
74 subChartsOnly:
75   enabled: true
76
77 # flag to enable debugging - application support required
78 debugEnabled: false
79
80 # default number of instances
81 #replicaCount: 1
82
83 nodeSelector: {}
84
85 affinity: {}
86
87 # probe configuration parameters
88 liveness:
89   initialDelaySeconds: 10
90   periodSeconds: 10
91   # necessary to disable liveness probe when setting breakpoints
92   # in debugger so K8s doesn't restart unresponsive container
93   enabled: true
94
95 readiness:
96   image: onap/oom/readiness:3.0.1
97   initialDelaySeconds: 10
98   periodSeconds: 10
99
100
101 config:
102   policyAppUserName: runtimeUser
103   useStrimziKafka: true
104   acRuntimeTopic:
105     name: policy-acruntime-participant
106     partitions: 10
107     retentionMs: 7200000
108     segmentBytes: 1073741824
109     consumer:
110       groupId: policy-group
111   policyHeartbeatTopic:
112     name: policy-heartbeat
113     partitions: 10
114     retentionMs: 7200000
115     segmentBytes: 1073741824
116     consumer:
117       groupId: policy-group
118   policyNotificationTopic:
119     name: policy-notification
120     partitions: 10
121     retentionMs: 7200000
122     segmentBytes: 1073741824
123     consumer:
124       groupId: policy-group
125   someConfig: blah
126
127 mariadb-galera:
128   # mariadb-galera.config and global.mariadb.config must be equals
129   db:
130     user: policy-user
131     # password:
132     name: &mysqlDbName policyadmin
133   nameOverride: *mariadb-galera
134   # mariadb-galera.service and global.mariadb.service must be equals
135   service: *mariadbService
136   #replicaCount: 1
137   persistence:
138     enabled: true
139     mountSubPath: policy/maria/data
140   serviceAccount:
141     nameOverride: *mariadb-galera
142
143 restServer:
144   policyPapUserName: policyadmin
145   policyPapUserPassword: zb!XztG34
146   policyApiUserName: policyadmin
147   policyApiUserPassword: zb!XztG34
148
149 # Resource Limit flavor -By Default using small
150 # Segregation for Different environment (small, large, or unlimited)
151 flavor: small
152 resources:
153   small:
154     limits:
155       cpu: 1
156       memory: 4Gi
157     requests:
158       cpu: 100m
159       memory: 1Gi
160   unlimited: {}
161
162 #Pods Service Account
163 serviceAccount:
164   nameOverride: policy
165   roles:
166     - read