Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 1 | # Copyright © 2018 AT&T USA |
| 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. |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 14 | ################################################################# |
| 15 | # Global configuration defaults. |
| 16 | ################################################################# |
| 17 | global: |
| 18 | nodePortPrefix: 302 |
| 19 | nodePortPrefixExt: 304 |
| 20 | repository: nexus3.onap.org:10001 |
| 21 | readinessRepository: oomk8s |
Mahendra Raghuwanshi | 72b69c1 | 2019-04-04 10:43:25 +0000 | [diff] [blame] | 22 | readinessImage: readiness-check:2.0.2 |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 23 | persistence: |
| 24 | mountPath: /dockerdata-nfs |
| 25 | |
| 26 | ################################################################# |
Krzysztof Opasiak | f232c99 | 2020-03-24 23:08:15 +0100 | [diff] [blame] | 27 | # Secrets metaconfig |
| 28 | ################################################################# |
| 29 | secrets: |
| 30 | - uid: db-user-creds |
| 31 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame^] | 32 | externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}' |
Krzysztof Opasiak | f232c99 | 2020-03-24 23:08:15 +0100 | [diff] [blame] | 33 | login: '{{ .Values.db.userName }}' |
| 34 | password: '{{ .Values.db.userPassword }}' |
| 35 | passwordPolicy: required |
| 36 | - uid: db-admin-creds |
| 37 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame^] | 38 | externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}' |
Krzysztof Opasiak | f232c99 | 2020-03-24 23:08:15 +0100 | [diff] [blame] | 39 | login: '{{ .Values.db.adminName }}' |
| 40 | password: '{{ .Values.db.adminPassword }}' |
| 41 | passwordPolicy: required |
| 42 | |
| 43 | ################################################################# |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 44 | # Application configuration defaults. |
| 45 | ################################################################# |
| 46 | repository: nexus3.onap.org:10001 |
seshukm | fb56d71 | 2019-10-14 10:46:52 +0530 | [diff] [blame] | 47 | image: onap/so/request-db-adapter:1.5.3 |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 48 | pullPolicy: Always |
| 49 | |
Krzysztof Opasiak | f232c99 | 2020-03-24 23:08:15 +0100 | [diff] [blame] | 50 | db: |
| 51 | userName: so_user |
| 52 | userPassword: so_User123 |
| 53 | # userCredsExternalSecret: some secret |
| 54 | adminName: so_admin |
| 55 | adminPassword: so_Admin123 |
| 56 | # adminCredsExternalSecret: some secret |
| 57 | |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 58 | replicaCount: 1 |
| 59 | minReadySeconds: 10 |
| 60 | containerPort: 8083 |
| 61 | logPath: ./logs/reqdb/ |
| 62 | app: request-db-adapter |
| 63 | service: |
| 64 | type: ClusterIP |
| 65 | internalPort: 8083 |
| 66 | externalPort: 8083 |
| 67 | portName: so-reqdb-port |
| 68 | updateStrategy: |
| 69 | type: RollingUpdate |
| 70 | maxUnavailable: 1 |
| 71 | maxSurge: 1 |
| 72 | # Resource Limit flavor -By Default using small |
| 73 | flavor: small |
| 74 | # Segregation for Different environment (Small and Large) |
| 75 | resources: |
| 76 | small: |
| 77 | limits: |
| 78 | memory: 4Gi |
| 79 | cpu: 2000m |
| 80 | requests: |
| 81 | memory: 1Gi |
| 82 | cpu: 500m |
| 83 | large: |
| 84 | limits: |
| 85 | memory: 8Gi |
| 86 | cpu: 4000m |
| 87 | requests: |
| 88 | memory: 2Gi |
| 89 | cpu: 1000m |
| 90 | unlimited: {} |
| 91 | livenessProbe: |
| 92 | path: /manage/health |
| 93 | port: 8083 |
| 94 | scheme: HTTP |
| 95 | initialDelaySeconds: 600 |
| 96 | periodSeconds: 60 |
| 97 | timeoutSeconds: 10 |
| 98 | successThreshold: 1 |
| 99 | failureThreshold: 3 |
| 100 | ingress: |
| 101 | enabled: false |
| 102 | nodeSelector: {} |
| 103 | tolerations: [] |
| 104 | affinity: {} |