10d8919953e242fb131f6d17e97bf3433c7dbfa5
[policy/docker.git] / helm / policy / values.yaml
1 # Copyright © 2022-2024 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   kafkaServer: kafka
31   repository: nexus3.onap.org:10001
32   pullPolicy: IfNotPresent
33   dockerRepository: docker.io
34
35   image:
36     readiness: onap/oom/readiness:3.0.1
37     mariadb: bitnami/mariadb-galera:10.5.8
38     api: onap/policy-api:$tag
39     pap: onap/policy-pap:$tag
40     apex: onap/policy-apex-pdp:$tag
41     simulator: onap/policy-models-simulator:$tag
42     pdpdcl: onap/policy-pdpd-cl:$tag
43     xacml: onap/policy-xacml-pdp:$tag
44     distribution: onap/policy-distribution:$tag
45     runtimeacm: onap/policy-clamp-runtime-acm:$tag
46     kserveparticipant: onap/policy-clamp-ac-kserve-ppnt:$tag
47     k8sparticipant: onap/policy-clamp-ac-k8s-ppnt:$tag
48     pfparticipant: onap/policy-clamp-ac-pf-ppnt:$tag
49     httpparticipant: onap/policy-clamp-ac-http-ppnt:$tag
50     a1pmsparticipant: onap/policy-clamp-ac-a1pms-ppnt:$tag
51
52 policy-mariadb-galera:
53   enabled: true
54 policy-models-simulator:
55   enabled: true
56 policy-api:
57   enabled: true
58 policy-pap:
59   enabled: true
60 policy-clamp-ac-k8s-ppnt:
61   enabled: false
62 policy-clamp-runtime-acm:
63   enabled: false
64 policy-apex-pdp:
65   enabled: false
66 policy-clamp-ac-pf-ppnt:
67   enabled: false
68 policy-drools-pdp:
69   enabled: false
70 policy-xacml-pdp:
71   enabled: false
72 policy-distribution:
73   enabled: false
74 policy-clamp-ac-http-ppnt:
75   enabled: false
76 policy-clamp-ac-kserve-ppnt:
77   enabled: false
78 policy-clamp-ac-a1pms-ppnt:
79   enabled: false
80
81 #################################################################
82 # DB configuration defaults.
83 #################################################################
84
85
86 mariadb:
87   image: mariadb:10.5.8
88
89 dbmigrator:
90   image: onap/policy-db-migrator:3.1.2-SNAPSHOT
91   schema: policyadmin
92   policy_home: "/opt/app/policy"
93
94 subChartsOnly:
95   enabled: true
96
97 # flag to enable debugging - application support required
98 debugEnabled: false
99
100 # default number of instances
101 #replicaCount: 1
102
103 nodeSelector: {}
104
105 affinity: {}
106
107 mariadb-galera:
108   # mariadb-galera.config and global.mariadb.config must be equals
109   db:
110     user: policy-user
111     # password:
112     name: &mysqlDbName policyadmin
113   nameOverride: *mariadb-galera
114   # mariadb-galera.service and global.mariadb.service must be equals
115   service: *mariadbService
116   #replicaCount: 1
117   persistence:
118     enabled: true
119     mountSubPath: policy/maria/data
120   serviceAccount:
121     nameOverride: *mariadb-galera
122
123 # Resource Limit flavor -By Default using small
124 # Segregation for Different environment (small, large, or unlimited)
125 flavor: small
126 resources:
127   small:
128     limits:
129       cpu: 1
130       memory: 4Gi
131     requests:
132       cpu: 100m
133       memory: 1Gi
134   unlimited: {}
135
136 #Pods Service Account
137 serviceAccount:
138   nameOverride: policy
139   roles:
140   - read