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 |
Krzysztof Opasiak | 98a79cc | 2020-04-01 22:33:58 +0200 | [diff] [blame] | 23 | envsubstImage: dibi/envsubst |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 24 | |
| 25 | ################################################################# |
Krzysztof Opasiak | 44088f9 | 2020-04-01 00:28:14 +0200 | [diff] [blame] | 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 |
Dominik Mizyn | d1943c0 | 2020-04-16 10:41:01 +0200 | [diff] [blame] | 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 |
Krzysztof Opasiak | 44088f9 | 2020-04-01 00:28:14 +0200 | [diff] [blame] | 53 | |
| 54 | ################################################################# |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 55 | # Application configuration defaults. |
| 56 | ################################################################# |
| 57 | # application image |
| 58 | repository: nexus3.onap.org:10001 |
jhh | 0ee08c0 | 2020-04-27 17:12:43 -0500 | [diff] [blame] | 59 | image: onap/policy-pe:1.6.3 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 60 | pullPolicy: Always |
| 61 | |
| 62 | # flag to enable debugging - application support required |
| 63 | debugEnabled: false |
| 64 | |
| 65 | # application configuration |
mayankg2703 | c798546 | 2018-03-29 14:24:23 +0000 | [diff] [blame] | 66 | config: |
| 67 | papPort: 9091 |
| 68 | pdpPort: 8081 |
| 69 | nexusPort: 8081 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 70 | |
Krzysztof Opasiak | 44088f9 | 2020-04-01 00:28:14 +0200 | [diff] [blame] | 71 | db: |
| 72 | user: policy_user |
| 73 | password: policy_user |
Dominik Mizyn | d1943c0 | 2020-04-16 10:41:01 +0200 | [diff] [blame] | 74 | pdp: |
| 75 | pdphttpuserid: testpdp |
| 76 | pdphttppassword: alpha123 |
| 77 | pap: |
| 78 | pdppappdphttpuserid: testpap |
| 79 | pdppappdphttppassword: alpha123 |
| 80 | nexus: |
| 81 | repositoryUsername: admin |
| 82 | repositoryPassword: admin123 |
Krzysztof Opasiak | 44088f9 | 2020-04-01 00:28:14 +0200 | [diff] [blame] | 83 | |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 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: |
jhh | 59ce22d | 2019-05-14 17:59:36 -0500 | [diff] [blame] | 104 | type: ClusterIP |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 105 | name: brmsgw |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 106 | portName: brmsgw |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 107 | externalPort: 9989 |
jhh | 59ce22d | 2019-05-14 17:59:36 -0500 | [diff] [blame] | 108 | internalPort: 9989 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 109 | nodePort: 16 |
| 110 | |
| 111 | |
| 112 | ingress: |
| 113 | enabled: false |
| 114 | |
vaibhavjayas | 4136f5d | 2018-08-17 07:01:05 +0000 | [diff] [blame] | 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 |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 132 | memory: 1Gi |
Pamela Dragosh | 54048d3 | 2018-11-09 07:09:41 -0500 | [diff] [blame] | 133 | unlimited: {} |