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-2020 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 | |
| 24 | ################################################################# |
Krzysztof Opasiak | 44088f9 | 2020-04-01 00:28:14 +0200 | [diff] [blame^] | 25 | # Secrets metaconfig |
| 26 | ################################################################# |
| 27 | secrets: |
| 28 | - uid: db-secret |
| 29 | type: basicAuth |
| 30 | externalSecret: '{{ tpl (default "" .Values.db.credsExternalSecret) . }}' |
| 31 | login: '{{ .Values.db.user }}' |
| 32 | password: '{{ .Values.db.password }}' |
| 33 | passwordPolicy: required |
| 34 | |
| 35 | ################################################################# |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 36 | # Application configuration defaults. |
| 37 | ################################################################# |
| 38 | # application image |
| 39 | repository: nexus3.onap.org:10001 |
jhh | d2b9ed8 | 2019-12-10 17:15:28 -0600 | [diff] [blame] | 40 | image: onap/policy-pe:1.6.1 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 41 | pullPolicy: Always |
| 42 | |
| 43 | # flag to enable debugging - application support required |
| 44 | debugEnabled: false |
| 45 | |
| 46 | # application configuration |
mayankg2703 | c798546 | 2018-03-29 14:24:23 +0000 | [diff] [blame] | 47 | config: |
| 48 | papPort: 9091 |
| 49 | pdpPort: 8081 |
| 50 | nexusPort: 8081 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 51 | |
Krzysztof Opasiak | 44088f9 | 2020-04-01 00:28:14 +0200 | [diff] [blame^] | 52 | db: |
| 53 | user: policy_user |
| 54 | password: policy_user |
| 55 | |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 56 | # default number of instances |
| 57 | replicaCount: 1 |
| 58 | |
| 59 | nodeSelector: {} |
| 60 | |
| 61 | affinity: {} |
| 62 | |
| 63 | # probe configuration parameters |
| 64 | liveness: |
| 65 | initialDelaySeconds: 10 |
| 66 | periodSeconds: 10 |
| 67 | # necessary to disable liveness probe when setting breakpoints |
| 68 | # in debugger so K8s doesn't restart unresponsive container |
| 69 | enabled: false |
| 70 | |
| 71 | readiness: |
| 72 | initialDelaySeconds: 30 |
| 73 | periodSeconds: 10 |
| 74 | |
| 75 | service: |
jhh | 59ce22d | 2019-05-14 17:59:36 -0500 | [diff] [blame] | 76 | type: ClusterIP |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 77 | name: brmsgw |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 78 | portName: brmsgw |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 79 | externalPort: 9989 |
jhh | 59ce22d | 2019-05-14 17:59:36 -0500 | [diff] [blame] | 80 | internalPort: 9989 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 81 | nodePort: 16 |
| 82 | |
| 83 | |
| 84 | ingress: |
| 85 | enabled: false |
| 86 | |
vaibhavjayas | 4136f5d | 2018-08-17 07:01:05 +0000 | [diff] [blame] | 87 | # Resource Limit flavor -By Default using small |
| 88 | flavor: small |
| 89 | # Segregation for Different environment (Small and Large) |
| 90 | resources: |
| 91 | small: |
| 92 | limits: |
| 93 | cpu: 1 |
| 94 | memory: 2Gi |
| 95 | requests: |
| 96 | cpu: 10m |
| 97 | memory: 0.5Gi |
| 98 | large: |
| 99 | limits: |
| 100 | cpu: 2 |
| 101 | memory: 4Gi |
| 102 | requests: |
| 103 | cpu: 20m |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 104 | memory: 1Gi |
Pamela Dragosh | 54048d3 | 2018-11-09 07:09:41 -0500 | [diff] [blame] | 105 | unlimited: {} |