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 | readinessImage: onap/oom/readiness:3.0.1 |
| 21 | loggingRepository: docker.elastic.co |
| 22 | loggingImage: beats/filebeat:5.5.0 |
| 23 | |
| 24 | ################################################################# |
| 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 | - uid: pdp-http-creds |
| 35 | type: basicAuth |
| 36 | externalSecret: '{{ tpl (default "" .Values.pdp.pdpCredsExternalSecret) . }}' |
| 37 | login: '{{ .Values.pdp.pdphttpuserid }}' |
| 38 | password: '{{ .Values.pdp.pdphttppassword }}' |
| 39 | passwordPolicy: required |
| 40 | - uid: pap-http-creds |
| 41 | type: basicAuth |
| 42 | externalSecret: '{{ tpl (default "" .Values.pap.papCredsExternalSecret) . }}' |
| 43 | login: '{{ .Values.pap.pdppappdphttpuserid }}' |
| 44 | password: '{{ .Values.pap.pdppappdphttppassword }}' |
| 45 | passwordPolicy: required |
Shane Daniel | 6974d1b | 2018-06-15 15:04:53 +0000 | [diff] [blame] | 46 | |
| 47 | ################################################################# |
| 48 | # Application configuration defaults. |
| 49 | ################################################################# |
| 50 | # application image |
| 51 | repository: nexus3.onap.org:10001 |
Prudence Au | ccc93ea | 2019-09-13 13:26:11 +0000 | [diff] [blame] | 52 | image: onap/pomba-aai-context-builder:1.5.1 |
Shane Daniel | 6974d1b | 2018-06-15 15:04:53 +0000 | [diff] [blame] | 53 | pullPolicy: Always |
| 54 | |
| 55 | # flag to enable debugging - application support required |
| 56 | debugEnabled: false |
| 57 | |
| 58 | # application configuration |
| 59 | # Example: |
| 60 | config: |
| 61 | aaiServiceName: aai |
| 62 | aaiPort: 8443 |
| 63 | aaiUsername: AAI |
| 64 | aaiPassword: OBF:1gfr1ev31gg7 |
Geora Barsky | 288fc89 | 2018-08-23 10:39:16 -0400 | [diff] [blame] | 65 | aaiHttpProtocol: https |
Geora Barsky | 58f5c4f | 2018-11-02 14:41:10 -0400 | [diff] [blame] | 66 | aaiConnectionTimeout: 60000 |
| 67 | aaiReadTimeout: 60000 |
Shane Daniel | 6974d1b | 2018-06-15 15:04:53 +0000 | [diff] [blame] | 68 | # HTTP Basic Authorization credentials for Rest Service API |
| 69 | httpUserId: admin |
| 70 | httpPassword: OBF:1u2a1toa1w8v1tok1u30 |
| 71 | |
| 72 | |
| 73 | # default number of instances |
| 74 | replicaCount: 1 |
| 75 | |
| 76 | nodeSelector: {} |
| 77 | |
| 78 | affinity: {} |
| 79 | |
| 80 | # probe configuration parameters |
| 81 | liveness: |
jmac | 15bf8cd | 2019-02-05 19:44:55 +0000 | [diff] [blame] | 82 | initialDelaySeconds: 30 |
Shane Daniel | 6974d1b | 2018-06-15 15:04:53 +0000 | [diff] [blame] | 83 | periodSeconds: 10 |
| 84 | # necessary to disable liveness probe when setting breakpoints |
| 85 | # in debugger so K8s doesn't restart unresponsive container |
| 86 | enabled: true |
| 87 | |
| 88 | readiness: |
jmac | 15bf8cd | 2019-02-05 19:44:55 +0000 | [diff] [blame] | 89 | initialDelaySeconds: 30 |
Shane Daniel | 6974d1b | 2018-06-15 15:04:53 +0000 | [diff] [blame] | 90 | periodSeconds: 10 |
| 91 | |
| 92 | #Example service definition with external, internal and node ports. |
| 93 | service: |
| 94 | # The default service name (exposed in the service.yaml) will be the same |
| 95 | # name as the chart. If the service name needs to be overriden (such as |
| 96 | # when a subchart is shared), uncomment the value below. |
| 97 | #name: <service-name-override> |
| 98 | |
| 99 | #Services may use any combination of ports depending on the 'type' of |
| 100 | #service being defined. |
| 101 | type: ClusterIP |
| 102 | externalPort: 9530 |
| 103 | internalPort: 8080 |
| 104 | # nodePort: <replace with unused node port suffix eg. 23> |
| 105 | # optional port name override - default can be defined in service.yaml |
| 106 | #portName: http |
| 107 | |
| 108 | ingress: |
| 109 | enabled: false |
| 110 | |
jmac | af645b5 | 2018-10-11 12:21:54 +0000 | [diff] [blame] | 111 | # Resource Limit flavor -By Default using small |
| 112 | flavor: small |
| 113 | # Segregation for Different environment (Small and Large) |
| 114 | resources: |
| 115 | small: |
| 116 | limits: |
| 117 | cpu: 1 |
| 118 | memory: 800Mi |
| 119 | requests: |
| 120 | cpu: 100m |
| 121 | memory: 400Mi |
| 122 | large: |
| 123 | limits: |
| 124 | cpu: 2 |
| 125 | memory: 1600Mi |
| 126 | requests: |
| 127 | cpu: 200m |
| 128 | memory: 800Mi |
| 129 | unlimited: {} |