Merge "Bump version of readiness image"
[oom.git] / kubernetes / policy / charts / brmsgw / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018-2020 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   envsubstImage: dibi/envsubst
24
25 #################################################################
26 # Secrets metaconfig
27 #################################################################
28 secrets:
29   - uid: db-secret
30     type: basicAuth
31     externalSecret: '{{ tpl (default "" .Values.db.credsExternalSecret) . }}'
32     login: '{{ .Values.db.user }}'
33     password: '{{ .Values.db.password }}'
34     passwordPolicy: required
35   - uid: pdp-http-creds
36     type: basicAuth
37     externalSecret: '{{ tpl (default "" .Values.pdp.pdpCredsExternalSecret) . }}'
38     login: '{{ .Values.pdp.pdphttpuserid }}'
39     password: '{{ .Values.pdp.pdphttppassword }}'
40     passwordPolicy: required
41   - uid: pap-http-creds
42     type: basicAuth
43     externalSecret: '{{ tpl (default "" .Values.pap.papCredsExternalSecret) . }}'
44     login: '{{ .Values.pap.pdppappdphttpuserid }}'
45     password: '{{ .Values.pap.pdppappdphttppassword }}'
46     passwordPolicy: required
47   - uid: nexus-creds
48     type: basicAuth
49     externalSecret: '{{ tpl (default "" .Values.nexus.nexusCredsExternalSecret) . }}'
50     login: '{{ .Values.nexus.repositoryUsername }}'
51     password: '{{ .Values.nexus.repositoryPassword }}'
52     passwordPolicy: required
53
54 #################################################################
55 # Application configuration defaults.
56 #################################################################
57 # application image
58 repository: nexus3.onap.org:10001
59 image: onap/policy-pe:1.6.3
60 pullPolicy: Always
61
62 # flag to enable debugging - application support required
63 debugEnabled: false
64
65 # application configuration
66 config:
67   papPort: 9091
68   pdpPort: 8081
69   nexusPort: 8081
70
71 db:
72   user: policy_user
73   password: policy_user
74 pdp:
75   pdphttpuserid: testpdp
76   pdphttppassword: alpha123
77 pap:
78   pdppappdphttpuserid: testpap
79   pdppappdphttppassword: alpha123
80 nexus:
81   repositoryUsername: admin
82   repositoryPassword: admin123
83
84 # default number of instances
85 replicaCount: 1
86
87 nodeSelector: {}
88
89 affinity: {}
90
91 # probe configuration parameters
92 liveness:
93   initialDelaySeconds: 10
94   periodSeconds: 10
95   # necessary to disable liveness probe when setting breakpoints
96   # in debugger so K8s doesn't restart unresponsive container
97   enabled: false
98
99 readiness:
100   initialDelaySeconds: 30
101   periodSeconds: 10
102
103 service:
104   type: ClusterIP
105   name: brmsgw
106   portName: brmsgw
107   externalPort: 9989
108   internalPort: 9989
109   nodePort: 16
110
111
112 ingress:
113   enabled: false
114
115 # Resource Limit flavor -By Default using small
116 flavor: small
117 # Segregation for Different environment (Small and Large)
118 resources:
119   small:
120     limits:
121       cpu: 1
122       memory: 2Gi
123     requests:
124       cpu: 10m
125       memory: 0.5Gi
126   large:
127     limits:
128       cpu: 2
129       memory: 4Gi
130     requests:
131       cpu: 20m
132       memory: 1Gi
133   unlimited: {}