mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
jhh | d2b9ed8 | 2019-12-10 17:15:28 -0600 | [diff] [blame] | 2 | # Modifications Copyright © 2018,2019 AT&T |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 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 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 21 | readinessRepository: oomk8s |
Sylvain Desbureaux | 4898dc0 | 2019-11-14 13:35:13 +0100 | [diff] [blame] | 22 | readinessImage: readiness-check:2.0.2 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 23 | loggingRepository: docker.elastic.co |
| 24 | loggingImage: beats/filebeat:5.5.0 |
| 25 | |
| 26 | ################################################################# |
Krzysztof Opasiak | e0784a9 | 2020-04-01 00:46:48 +0200 | [diff] [blame] | 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 | ################################################################# |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 38 | # Application configuration defaults. |
| 39 | ################################################################# |
| 40 | # application image |
| 41 | repository: nexus3.onap.org:10001 |
jhh | 110657a | 2020-04-09 16:35:50 -0500 | [diff] [blame] | 42 | image: onap/policy-pe:1.6.2 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 43 | pullPolicy: Always |
| 44 | |
| 45 | # flag to enable debugging - application support required |
| 46 | debugEnabled: false |
| 47 | |
| 48 | # application configuration |
Krzysztof Opasiak | e0784a9 | 2020-04-01 00:46:48 +0200 | [diff] [blame] | 49 | |
| 50 | db: |
| 51 | user: policy_user |
| 52 | password: policy_user |
| 53 | |
mayankg2703 | c798546 | 2018-03-29 14:24:23 +0000 | [diff] [blame] | 54 | config: |
| 55 | papPort: 9091 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 56 | |
| 57 | # default number of instances |
Jorge Hernandez | d9f7545 | 2018-06-04 11:18:52 -0500 | [diff] [blame] | 58 | replicaCount: 1 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 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: |
Jorge Hernandez | 4519ccc | 2018-05-09 08:50:59 -0500 | [diff] [blame] | 77 | type: ClusterIP |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 78 | name: pdp |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 79 | portName: pdp |
Jorge Hernandez | 4519ccc | 2018-05-09 08:50:59 -0500 | [diff] [blame] | 80 | internalPort: 8081 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 81 | externalPort: 8081 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 82 | |
| 83 | ingress: |
| 84 | enabled: false |
| 85 | |
vaibhavjayas | 4136f5d | 2018-08-17 07:01:05 +0000 | [diff] [blame] | 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 |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 103 | memory: 2Gi |
Pamela Dragosh | 54048d3 | 2018-11-09 07:09:41 -0500 | [diff] [blame] | 104 | unlimited: {} |