Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +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 |
Sylvain Desbureaux | 1694e1d | 2020-08-21 09:58:25 +0200 | [diff] [blame] | 21 | readinessImage: onap/oom/readiness:3.0.1 |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 22 | persistence: |
| 23 | mountPath: /dockerdata-nfs |
| 24 | |
| 25 | ################################################################# |
Krzysztof Opasiak | fcfb5f0 | 2020-03-24 23:34:24 +0100 | [diff] [blame] | 26 | # Secrets metaconfig |
| 27 | ################################################################# |
| 28 | secrets: |
| 29 | - uid: db-user-creds |
| 30 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 31 | externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}' |
Krzysztof Opasiak | fcfb5f0 | 2020-03-24 23:34:24 +0100 | [diff] [blame] | 32 | login: '{{ .Values.db.userName }}' |
| 33 | password: '{{ .Values.db.userPassword }}' |
| 34 | passwordPolicy: required |
| 35 | - uid: db-admin-creds |
| 36 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 37 | externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}' |
Krzysztof Opasiak | fcfb5f0 | 2020-03-24 23:34:24 +0100 | [diff] [blame] | 38 | login: '{{ .Values.db.adminName }}' |
| 39 | password: '{{ .Values.db.adminPassword }}' |
| 40 | passwordPolicy: required |
Sylvain Desbureaux | aadf545 | 2020-03-18 18:13:51 +0100 | [diff] [blame] | 41 | - uid: "so-onap-certs" |
| 42 | externalSecret: '{{ tpl (default "" .Values.certSecret) . }}' |
| 43 | type: generic |
| 44 | filePaths: '{{ .Values.secretsFilePaths }}' |
| 45 | |
| 46 | #secretsFilePaths: | |
| 47 | # - 'my file 1' |
| 48 | # - '{{ include "templateThatGeneratesFileName" . }}' |
Krzysztof Opasiak | fcfb5f0 | 2020-03-24 23:34:24 +0100 | [diff] [blame] | 49 | |
| 50 | ################################################################# |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 51 | # Application configuration defaults. |
| 52 | ################################################################# |
| 53 | repository: nexus3.onap.org:10001 |
seshukm | 40ec9fa | 2020-07-08 14:26:34 +0530 | [diff] [blame] | 54 | image: onap/so/vfc-adapter:1.6.4 |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 55 | pullPolicy: Always |
| 56 | |
Krzysztof Opasiak | fcfb5f0 | 2020-03-24 23:34:24 +0100 | [diff] [blame] | 57 | db: |
| 58 | userName: so_user |
| 59 | userPassword: so_User123 |
| 60 | # userCredsExternalSecret: some secret |
| 61 | adminName: so_admin |
| 62 | adminPassword: so_Admin123 |
| 63 | # adminCredsExternalSecret: some secret |
| 64 | |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 65 | replicaCount: 1 |
| 66 | minReadySeconds: 10 |
| 67 | containerPort: 8084 |
| 68 | logPath: ./logs/vfc/ |
| 69 | app: vfc-adapter |
| 70 | service: |
| 71 | type: ClusterIP |
| 72 | internalPort: 8084 |
Brian Freeman | 1a66793 | 2018-09-06 14:45:37 -0500 | [diff] [blame] | 73 | externalPort: 8084 |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 74 | portName: so-vfc-port |
| 75 | updateStrategy: |
| 76 | type: RollingUpdate |
| 77 | maxUnavailable: 1 |
| 78 | maxSurge: 1 |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 79 | # Resource Limit flavor -By Default using small |
| 80 | flavor: small |
| 81 | # Segregation for Different environment (Small and Large) |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 82 | resources: |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 83 | small: |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 84 | limits: |
| 85 | memory: 4Gi |
| 86 | cpu: 2000m |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 87 | requests: |
| 88 | memory: 1Gi |
| 89 | cpu: 500m |
| 90 | large: |
| 91 | limits: |
| 92 | memory: 8Gi |
| 93 | cpu: 4000m |
| 94 | requests: |
| 95 | memory: 2Gi |
| 96 | cpu: 1000m |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 97 | unlimited: {} |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 98 | livenessProbe: |
| 99 | path: /manage/health |
| 100 | port: 8084 |
| 101 | scheme: HTTP |
| 102 | initialDelaySeconds: 600 |
| 103 | periodSeconds: 60 |
| 104 | timeoutSeconds: 10 |
| 105 | successThreshold: 1 |
| 106 | failureThreshold: 3 |
| 107 | ingress: |
| 108 | enabled: false |
| 109 | nodeSelector: {} |
| 110 | tolerations: [] |
Brian Freeman | 1a66793 | 2018-09-06 14:45:37 -0500 | [diff] [blame] | 111 | affinity: {} |