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