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