Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 1 | # Copyright © 2018 AT&T USA |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 2 | # Copyright © 2020 Huawei |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 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 |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 22 | aafAgentImage: onap/aaf/aaf_agent:2.1.20 |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 23 | persistence: |
| 24 | mountPath: /dockerdata-nfs |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 25 | security: |
| 26 | aaf: |
| 27 | enabled: false |
| 28 | aaf: |
| 29 | auth: |
| 30 | header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo= |
krishnaa96 | 92b606b | 2020-10-30 11:29:21 +0530 | [diff] [blame] | 31 | mariadbGalera: |
| 32 | serviceName: mariadb-galera |
| 33 | servicePort: '3306' |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 34 | |
Sylvain Desbureaux | d055a17 | 2020-10-30 14:32:03 +0100 | [diff] [blame] | 35 | readinessCheck: |
| 36 | wait_for: |
| 37 | - so-mariadb-config |
| 38 | |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 39 | ################################################################# |
Krzysztof Opasiak | fcfb5f0 | 2020-03-24 23:34:24 +0100 | [diff] [blame] | 40 | # Secrets metaconfig |
| 41 | ################################################################# |
| 42 | secrets: |
| 43 | - uid: db-user-creds |
| 44 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 45 | externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}' |
Krzysztof Opasiak | fcfb5f0 | 2020-03-24 23:34:24 +0100 | [diff] [blame] | 46 | login: '{{ .Values.db.userName }}' |
| 47 | password: '{{ .Values.db.userPassword }}' |
| 48 | passwordPolicy: required |
| 49 | - uid: db-admin-creds |
| 50 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 51 | externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}' |
Krzysztof Opasiak | fcfb5f0 | 2020-03-24 23:34:24 +0100 | [diff] [blame] | 52 | login: '{{ .Values.db.adminName }}' |
| 53 | password: '{{ .Values.db.adminPassword }}' |
| 54 | passwordPolicy: required |
Sylvain Desbureaux | aadf545 | 2020-03-18 18:13:51 +0100 | [diff] [blame] | 55 | |
| 56 | #secretsFilePaths: | |
| 57 | # - 'my file 1' |
| 58 | # - '{{ include "templateThatGeneratesFileName" . }}' |
Krzysztof Opasiak | fcfb5f0 | 2020-03-24 23:34:24 +0100 | [diff] [blame] | 59 | |
| 60 | ################################################################# |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 61 | # Application configuration defaults. |
| 62 | ################################################################# |
| 63 | repository: nexus3.onap.org:10001 |
Kalkere Ramesh, Sharan | df29b1e | 2020-11-13 15:51:37 -0500 | [diff] [blame] | 64 | image: onap/so/vfc-adapter:1.7.10 |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 65 | pullPolicy: Always |
| 66 | |
Krzysztof Opasiak | fcfb5f0 | 2020-03-24 23:34:24 +0100 | [diff] [blame] | 67 | db: |
| 68 | userName: so_user |
| 69 | userPassword: so_User123 |
| 70 | # userCredsExternalSecret: some secret |
| 71 | adminName: so_admin |
| 72 | adminPassword: so_Admin123 |
| 73 | # adminCredsExternalSecret: some secret |
| 74 | |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 75 | mso: |
| 76 | adapters: |
| 77 | requestDb: |
| 78 | auth: Basic YnBlbDpwYXNzd29yZDEk |
| 79 | |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 80 | replicaCount: 1 |
| 81 | minReadySeconds: 10 |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 82 | containerPort: &containerPort 8084 |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 83 | logPath: ./logs/vfc/ |
| 84 | app: vfc-adapter |
| 85 | service: |
| 86 | type: ClusterIP |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 87 | internalPort: *containerPort |
| 88 | externalPort: *containerPort |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 89 | portName: so-vfc-port |
| 90 | updateStrategy: |
| 91 | type: RollingUpdate |
| 92 | maxUnavailable: 1 |
| 93 | maxSurge: 1 |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 94 | |
| 95 | |
| 96 | ################################################################# |
| 97 | # soHelpers part |
| 98 | ################################################################# |
| 99 | soHelpers: |
| 100 | nameOverride: so-vfc-cert-init |
| 101 | certInitializer: |
| 102 | nameOverride: so-vfc-cert-init |
| 103 | credsPath: /opt/app/osaaf/local |
| 104 | cadi: |
| 105 | apiEnforcement: org.onap.so.vfcAdapterPerm |
| 106 | containerPort: *containerPort |
| 107 | |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 108 | # Resource Limit flavor -By Default using small |
| 109 | flavor: small |
| 110 | # Segregation for Different environment (Small and Large) |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 111 | resources: |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 112 | small: |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 113 | limits: |
| 114 | memory: 4Gi |
| 115 | cpu: 2000m |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 116 | requests: |
| 117 | memory: 1Gi |
| 118 | cpu: 500m |
| 119 | large: |
| 120 | limits: |
| 121 | memory: 8Gi |
| 122 | cpu: 4000m |
| 123 | requests: |
| 124 | memory: 2Gi |
| 125 | cpu: 1000m |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 126 | unlimited: {} |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 127 | livenessProbe: |
| 128 | path: /manage/health |
| 129 | port: 8084 |
| 130 | scheme: HTTP |
| 131 | initialDelaySeconds: 600 |
| 132 | periodSeconds: 60 |
| 133 | timeoutSeconds: 10 |
| 134 | successThreshold: 1 |
| 135 | failureThreshold: 3 |
| 136 | ingress: |
| 137 | enabled: false |
| 138 | nodeSelector: {} |
| 139 | tolerations: [] |
Brian Freeman | 1a66793 | 2018-09-06 14:45:37 -0500 | [diff] [blame] | 140 | affinity: {} |