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 |
| 23 | envsubstImage: dibi/envsubst |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 24 | persistence: |
| 25 | mountPath: /dockerdata-nfs |
Konrad Bańka | 7bde1d6 | 2020-04-01 16:09:11 +0200 | [diff] [blame] | 26 | #This configuration specifies Service and port for SDNC OAM interface |
| 27 | sdncOamService: sdnc-oam |
| 28 | sdncOamPort: 8282 |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 29 | security: |
| 30 | aaf: |
| 31 | enabled: false |
| 32 | aaf: |
| 33 | auth: |
| 34 | header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo= |
krishnaa96 | 92b606b | 2020-10-30 11:29:21 +0530 | [diff] [blame] | 35 | mariadbGalera: |
| 36 | serviceName: mariadb-galera |
| 37 | servicePort: '3306' |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 38 | |
| 39 | ################################################################# |
Krzysztof Opasiak | 5743141 | 2020-03-24 23:18:49 +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 | 5743141 | 2020-03-24 23:18:49 +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 | 5743141 | 2020-03-24 23:18:49 +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 | 5743141 | 2020-03-24 23:18:49 +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 |
seshukm | 40ec9fa | 2020-07-08 14:26:34 +0530 | [diff] [blame] | 64 | image: onap/so/sdnc-adapter:1.6.4 |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 65 | pullPolicy: Always |
| 66 | |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 67 | org: |
| 68 | onap: |
| 69 | so: |
| 70 | adapters: |
| 71 | sdnc: |
| 72 | bpelauth: 4C18603C5AE7E3A42A6CED95CDF9C0BA9B2109B3725747662E5D34E5FDF63DA9ADEBB08185098F14699195FDE9475100 |
| 73 | sdncauth: ED07A7EE5F099FA53369C3DF2240AD68A00154676EEDBC6F8C16BAA83B1912941B8941ABD48683D2C1072DA7040659692DE936A59BBF42A038CF71DE67B4A375190071EC76EA657801B033C135 |
| 74 | network: |
| 75 | encryptionKey: 07a7159d3bf51a0e53be7a8f89699be7 |
| 76 | mso: |
| 77 | adapters: |
| 78 | requestDb: |
| 79 | auth: Basic YnBlbDpwYXNzd29yZDEk |
| 80 | |
Krzysztof Opasiak | 5743141 | 2020-03-24 23:18:49 +0100 | [diff] [blame] | 81 | db: |
| 82 | userName: so_user |
| 83 | userPassword: so_User123 |
| 84 | # userCredsExternalSecret: some secret |
| 85 | adminName: so_admin |
| 86 | adminPassword: so_Admin123 |
| 87 | # adminCredsExternalSecret: some secret |
| 88 | |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 89 | replicaCount: 1 |
| 90 | minReadySeconds: 10 |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 91 | containerPort: &containerPort 8086 |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 92 | logPath: ./logs/sdnc/ |
| 93 | app: sdnc-adapter |
| 94 | service: |
| 95 | type: ClusterIP |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 96 | internalPort: *containerPort |
| 97 | externalPort: *containerPort |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 98 | portName: so-sdnc-port |
| 99 | updateStrategy: |
| 100 | type: RollingUpdate |
| 101 | maxUnavailable: 1 |
| 102 | maxSurge: 1 |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 103 | |
| 104 | |
| 105 | ################################################################# |
| 106 | # soHelpers part |
| 107 | ################################################################# |
| 108 | soHelpers: |
| 109 | nameOverride: so-sdnc-cert-init |
| 110 | certInitializer: |
| 111 | nameOverride: so-sdnc-cert-init |
| 112 | credsPath: /opt/app/osaaf/local |
| 113 | cadi: |
| 114 | apiEnforcement: org.onap.so.sdncAdapterPerm |
| 115 | containerPort: *containerPort |
| 116 | |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 117 | # Resource Limit flavor -By Default using small |
| 118 | flavor: small |
| 119 | # Segregation for Different environment (Small and Large) |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 120 | resources: |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 121 | small: |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 122 | limits: |
| 123 | memory: 4Gi |
| 124 | cpu: 2000m |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 125 | requests: |
| 126 | memory: 1Gi |
| 127 | cpu: 500m |
| 128 | large: |
| 129 | limits: |
| 130 | memory: 8Gi |
| 131 | cpu: 4000m |
| 132 | requests: |
| 133 | memory: 2Gi |
| 134 | cpu: 1000m |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 135 | unlimited: {} |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 136 | livenessProbe: |
| 137 | path: /manage/health |
| 138 | port: 8086 |
| 139 | scheme: HTTP |
| 140 | initialDelaySeconds: 600 |
| 141 | periodSeconds: 60 |
| 142 | timeoutSeconds: 10 |
| 143 | successThreshold: 1 |
| 144 | failureThreshold: 3 |
| 145 | ingress: |
| 146 | enabled: false |
| 147 | nodeSelector: {} |
| 148 | tolerations: [] |
Brian Freeman | 1a66793 | 2018-09-06 14:45:37 -0500 | [diff] [blame] | 149 | affinity: {} |