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 |
Dominik Mizyn | 165a22d | 2020-04-16 11:21:23 +0200 | [diff] [blame] | 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 |
Krzysztof Opasiak | e0784a9 | 2020-04-01 00:46:48 +0200 | [diff] [blame] | 48 | |
| 49 | ################################################################# |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 50 | # Application configuration defaults. |
| 51 | ################################################################# |
| 52 | # application image |
| 53 | repository: nexus3.onap.org:10001 |
jhh | 080016d | 2020-05-22 09:59:49 -0500 | [diff] [blame] | 54 | image: onap/policy-pe:1.6.4 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 55 | pullPolicy: Always |
| 56 | |
| 57 | # flag to enable debugging - application support required |
| 58 | debugEnabled: false |
| 59 | |
| 60 | # application configuration |
Krzysztof Opasiak | e0784a9 | 2020-04-01 00:46:48 +0200 | [diff] [blame] | 61 | |
| 62 | db: |
| 63 | user: policy_user |
| 64 | password: policy_user |
Dominik Mizyn | 165a22d | 2020-04-16 11:21:23 +0200 | [diff] [blame] | 65 | pdp: |
| 66 | pdphttpuserid: testpdp |
| 67 | pdphttppassword: alpha123 |
| 68 | pap: |
| 69 | pdppappdphttpuserid: testpap |
| 70 | pdppappdphttppassword: alpha123 |
Krzysztof Opasiak | e0784a9 | 2020-04-01 00:46:48 +0200 | [diff] [blame] | 71 | |
mayankg2703 | c798546 | 2018-03-29 14:24:23 +0000 | [diff] [blame] | 72 | config: |
| 73 | papPort: 9091 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 74 | |
| 75 | # default number of instances |
Jorge Hernandez | d9f7545 | 2018-06-04 11:18:52 -0500 | [diff] [blame] | 76 | replicaCount: 1 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 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: |
Jorge Hernandez | 4519ccc | 2018-05-09 08:50:59 -0500 | [diff] [blame] | 95 | type: ClusterIP |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 96 | name: pdp |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 97 | portName: pdp |
Jorge Hernandez | 4519ccc | 2018-05-09 08:50:59 -0500 | [diff] [blame] | 98 | internalPort: 8081 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 99 | externalPort: 8081 |
mayankg2703 | ced8514 | 2018-03-20 05:42:53 +0000 | [diff] [blame] | 100 | |
| 101 | ingress: |
| 102 | enabled: false |
| 103 | |
vaibhavjayas | 4136f5d | 2018-08-17 07:01:05 +0000 | [diff] [blame] | 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 |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 121 | memory: 2Gi |
Pamela Dragosh | 54048d3 | 2018-11-09 07:09:41 -0500 | [diff] [blame] | 122 | unlimited: {} |