Shane Daniel | 6974d1b | 2018-06-15 15:04:53 +0000 | [diff] [blame] | 1 | # Copyright © 2018 Amdocs |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | ################################################################# |
| 16 | # Global configuration defaults. |
| 17 | ################################################################# |
| 18 | global: |
| 19 | nodePortPrefix: 302 |
Sylvain Desbureaux | 1694e1d | 2020-08-21 09:58:25 +0200 | [diff] [blame] | 20 | |
| 21 | ################################################################# |
| 22 | # Secrets metaconfig |
| 23 | ################################################################# |
| 24 | secrets: |
| 25 | - uid: db-secret |
| 26 | type: basicAuth |
| 27 | externalSecret: '{{ tpl (default "" .Values.db.credsExternalSecret) . }}' |
| 28 | login: '{{ .Values.db.user }}' |
| 29 | password: '{{ .Values.db.password }}' |
| 30 | passwordPolicy: required |
| 31 | - uid: pdp-http-creds |
| 32 | type: basicAuth |
| 33 | externalSecret: '{{ tpl (default "" .Values.pdp.pdpCredsExternalSecret) . }}' |
| 34 | login: '{{ .Values.pdp.pdphttpuserid }}' |
| 35 | password: '{{ .Values.pdp.pdphttppassword }}' |
| 36 | passwordPolicy: required |
| 37 | - uid: pap-http-creds |
| 38 | type: basicAuth |
| 39 | externalSecret: '{{ tpl (default "" .Values.pap.papCredsExternalSecret) . }}' |
| 40 | login: '{{ .Values.pap.pdppappdphttpuserid }}' |
| 41 | password: '{{ .Values.pap.pdppappdphttppassword }}' |
| 42 | passwordPolicy: required |
Shane Daniel | 6974d1b | 2018-06-15 15:04:53 +0000 | [diff] [blame] | 43 | |
| 44 | ################################################################# |
| 45 | # Application configuration defaults. |
| 46 | ################################################################# |
| 47 | # application image |
Prudence Au | ccc93ea | 2019-09-13 13:26:11 +0000 | [diff] [blame] | 48 | image: onap/pomba-aai-context-builder:1.5.1 |
Shane Daniel | 6974d1b | 2018-06-15 15:04:53 +0000 | [diff] [blame] | 49 | pullPolicy: Always |
| 50 | |
| 51 | # flag to enable debugging - application support required |
| 52 | debugEnabled: false |
| 53 | |
| 54 | # application configuration |
| 55 | # Example: |
| 56 | config: |
| 57 | aaiServiceName: aai |
| 58 | aaiPort: 8443 |
| 59 | aaiUsername: AAI |
| 60 | aaiPassword: OBF:1gfr1ev31gg7 |
Geora Barsky | 288fc89 | 2018-08-23 10:39:16 -0400 | [diff] [blame] | 61 | aaiHttpProtocol: https |
Geora Barsky | 58f5c4f | 2018-11-02 14:41:10 -0400 | [diff] [blame] | 62 | aaiConnectionTimeout: 60000 |
| 63 | aaiReadTimeout: 60000 |
Shane Daniel | 6974d1b | 2018-06-15 15:04:53 +0000 | [diff] [blame] | 64 | # HTTP Basic Authorization credentials for Rest Service API |
| 65 | httpUserId: admin |
| 66 | httpPassword: OBF:1u2a1toa1w8v1tok1u30 |
| 67 | |
| 68 | |
| 69 | # default number of instances |
| 70 | replicaCount: 1 |
| 71 | |
| 72 | nodeSelector: {} |
| 73 | |
| 74 | affinity: {} |
| 75 | |
| 76 | # probe configuration parameters |
| 77 | liveness: |
jmac | 15bf8cd | 2019-02-05 19:44:55 +0000 | [diff] [blame] | 78 | initialDelaySeconds: 30 |
Shane Daniel | 6974d1b | 2018-06-15 15:04:53 +0000 | [diff] [blame] | 79 | periodSeconds: 10 |
| 80 | # necessary to disable liveness probe when setting breakpoints |
| 81 | # in debugger so K8s doesn't restart unresponsive container |
| 82 | enabled: true |
| 83 | |
| 84 | readiness: |
jmac | 15bf8cd | 2019-02-05 19:44:55 +0000 | [diff] [blame] | 85 | initialDelaySeconds: 30 |
Shane Daniel | 6974d1b | 2018-06-15 15:04:53 +0000 | [diff] [blame] | 86 | periodSeconds: 10 |
| 87 | |
| 88 | #Example service definition with external, internal and node ports. |
| 89 | service: |
| 90 | # The default service name (exposed in the service.yaml) will be the same |
| 91 | # name as the chart. If the service name needs to be overriden (such as |
| 92 | # when a subchart is shared), uncomment the value below. |
| 93 | #name: <service-name-override> |
| 94 | |
| 95 | #Services may use any combination of ports depending on the 'type' of |
| 96 | #service being defined. |
| 97 | type: ClusterIP |
| 98 | externalPort: 9530 |
| 99 | internalPort: 8080 |
| 100 | # nodePort: <replace with unused node port suffix eg. 23> |
| 101 | # optional port name override - default can be defined in service.yaml |
| 102 | #portName: http |
| 103 | |
| 104 | ingress: |
| 105 | enabled: false |
| 106 | |
jmac | af645b5 | 2018-10-11 12:21:54 +0000 | [diff] [blame] | 107 | # Resource Limit flavor -By Default using small |
| 108 | flavor: small |
| 109 | # Segregation for Different environment (Small and Large) |
| 110 | resources: |
| 111 | small: |
| 112 | limits: |
| 113 | cpu: 1 |
| 114 | memory: 800Mi |
| 115 | requests: |
| 116 | cpu: 100m |
| 117 | memory: 400Mi |
| 118 | large: |
| 119 | limits: |
| 120 | cpu: 2 |
| 121 | memory: 1600Mi |
| 122 | requests: |
| 123 | cpu: 200m |
| 124 | memory: 800Mi |
| 125 | unlimited: {} |