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