[POLICY] frankfurt RC2 images
[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   - uid: pdp-http-creds
37     type: basicAuth
38     externalSecret: '{{ tpl (default "" .Values.pdp.pdpCredsExternalSecret) . }}'
39     login: '{{ .Values.pdp.pdphttpuserid }}'
40     password: '{{ .Values.pdp.pdphttppassword }}'
41     passwordPolicy: required
42   - uid: pap-http-creds
43     type: basicAuth
44     externalSecret: '{{ tpl (default "" .Values.pap.papCredsExternalSecret) . }}'
45     login: '{{ .Values.pap.pdppappdphttpuserid }}'
46     password: '{{ .Values.pap.pdppappdphttppassword }}'
47     passwordPolicy: required
48
49 #################################################################
50 # Application configuration defaults.
51 #################################################################
52 # application image
53 repository: nexus3.onap.org:10001
54 image: onap/policy-pe:1.6.4
55 pullPolicy: Always
56
57 # flag to enable debugging - application support required
58 debugEnabled: false
59
60 # application configuration
61
62 db:
63   user: policy_user
64   password: policy_user
65 pdp:
66   pdphttpuserid: testpdp
67   pdphttppassword: alpha123
68 pap:
69   pdppappdphttpuserid: testpap
70   pdppappdphttppassword: alpha123
71
72 config:
73   papPort: 9091
74
75 # default number of instances
76 replicaCount: 1
77
78 nodeSelector: {}
79
80 affinity: {}
81
82 # probe configuration parameters
83 liveness:
84   initialDelaySeconds: 10
85   periodSeconds: 10
86   # necessary to disable liveness probe when setting breakpoints
87   # in debugger so K8s doesn't restart unresponsive container
88   enabled: true
89
90 readiness:
91   initialDelaySeconds: 10
92   periodSeconds: 10
93
94 service:
95   type: ClusterIP
96   name: pdp
97   portName: pdp
98   internalPort: 8081
99   externalPort: 8081
100
101 ingress:
102   enabled: false
103
104 # Resource Limit flavor -By Default using small
105 flavor: small
106 # Segregation for Different environment (Small and Large)
107 resources:
108   small:
109     limits:
110       cpu: 1
111       memory: 4Gi
112     requests:
113       cpu: 10m
114       memory: 1Gi
115   large:
116     limits:
117       cpu: 2
118       memory: 8Gi
119     requests:
120       cpu: 20m
121       memory: 2Gi
122   unlimited: {}