Merge "Update MOD component versions"
[oom.git] / kubernetes / policy / charts / pdp / 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
26 #################################################################
27 # Secrets metaconfig
28 #################################################################
29 secrets:
30   - uid: db-secret
31     type: basicAuth
32     externalSecret: '{{ tpl (default "" .Values.db.credsExternalSecret) . }}'
33     login: '{{ .Values.db.user }}'
34     password: '{{ .Values.db.password }}'
35     passwordPolicy: required
36
37 #################################################################
38 # Application configuration defaults.
39 #################################################################
40 # application image
41 repository: nexus3.onap.org:10001
42 image: onap/policy-pe:1.6.1
43 pullPolicy: Always
44
45 # flag to enable debugging - application support required
46 debugEnabled: false
47
48 # application configuration
49
50 db:
51   user: policy_user
52   password: policy_user
53
54 config:
55   papPort: 9091
56
57 # default number of instances
58 replicaCount: 1
59
60 nodeSelector: {}
61
62 affinity: {}
63
64 # probe configuration parameters
65 liveness:
66   initialDelaySeconds: 10
67   periodSeconds: 10
68   # necessary to disable liveness probe when setting breakpoints
69   # in debugger so K8s doesn't restart unresponsive container
70   enabled: true
71
72 readiness:
73   initialDelaySeconds: 10
74   periodSeconds: 10
75
76 service:
77   type: ClusterIP
78   name: pdp
79   portName: pdp
80   internalPort: 8081
81   externalPort: 8081
82
83 ingress:
84   enabled: false
85
86 # Resource Limit flavor -By Default using small
87 flavor: small
88 # Segregation for Different environment (Small and Large)
89 resources:
90   small:
91     limits:
92       cpu: 1
93       memory: 4Gi
94     requests:
95       cpu: 10m
96       memory: 1Gi
97   large:
98     limits:
99       cpu: 2
100       memory: 8Gi
101     requests:
102       cpu: 20m
103       memory: 2Gi
104   unlimited: {}