ef0e6b137ef0d159653e76cdbad63928b4cea2ff
[oom.git] / kubernetes / policy / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018-2019 AT&T
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16 #################################################################
17 # Global configuration defaults.
18 #################################################################
19 global:
20   nodePortPrefix: 302
21   readinessRepository: oomk8s
22   readinessImage: readiness-check:2.0.2
23   loggingRepository: docker.elastic.co
24   loggingImage: beats/filebeat:5.5.0
25   ubuntuImage: ubuntu:16.04
26   pdp:
27     nameOverride: pdp
28   pap:
29     nameOverride: policy
30   drools:
31     nameOverride: drools
32   brmwgw:
33     nameOverride: brmsgw
34   nexus:
35     nameOverride: nexus
36   mariadb:
37     # '&mariadbConfig' means we "store" the values for  later use in the file
38     # with '*mariadbConfig' pointer.
39     config: &mariadbConfig
40       userName: policy_user
41       userPassword: policy_user
42       mariadbRootPassword: secret
43       mysqlDatabase: policyadmin
44     service: &mariadbService
45       name: policy-mariadb
46       portName: mysql-policy
47       internalPort: 3306
48
49 #################################################################
50 # Application configuration defaults.
51 #################################################################
52 # application image
53 repository: nexus3.onap.org:10001
54 image: onap/policy-pe:1.5.2
55 mariadb_image: library/mariadb:10
56 pullPolicy: Always
57
58 subChartsOnly:
59   enabled: true
60
61 pap:
62   nameOverride: pap
63 pdp:
64   nameOverride: pdp
65 drools:
66   nameOverride: drools
67 brmwgw:
68   nameOverride: brmsgw
69 nexus:
70   nameOverride: nexus
71
72 # flag to enable debugging - application support required
73 debugEnabled: false
74
75 # application configuration
76 config:
77   preloadPolicies: false
78   pdpPort: 8081
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   initialDelaySeconds: 10
97   periodSeconds: 10
98
99 service:
100   type: NodePort
101   name: pap
102   portName: pap
103   internalPort: 8443
104   externalPort: 8443
105   nodePort: 19
106   internalPort2: 9091
107   externalPort2: 9091
108   nodePort2: 18
109
110 ingress:
111   enabled: false
112
113 mariadb-galera:
114   # mariadb-galera.config and global.mariadb.config must be equals
115   config: *mariadbConfig
116   nameOverride: policy-mariadb
117   # mariadb-galera.service and global.mariadb.service must be equals
118   service: *mariadbService
119   replicaCount: 1
120   persistence:
121     enabled: true
122     mountSubPath: policy/maria/data
123
124 # Resource Limit flavor -By Default using small
125 flavor: small
126 # Segregation for Different environment (Small and Large)
127 resources:
128   small:
129     limits:
130       cpu: 1
131       memory: 4Gi
132     requests:
133       cpu: 10m
134       memory: 1Gi
135   large:
136     limits:
137       cpu: 2
138       memory: 8Gi
139     requests:
140       cpu: 20m
141       memory: 2Gi
142   unlimited: {}