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 |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 20 | persistence: |
| 21 | mountPath: /dockerdata-nfs |
Konrad Bańka | 7bde1d6 | 2020-04-01 16:09:11 +0200 | [diff] [blame] | 22 | #This configuration specifies Service and port for SDNC OAM interface |
| 23 | sdncOamService: sdnc-oam |
| 24 | sdncOamPort: 8282 |
krishnaa96 | 92b606b | 2020-10-30 11:29:21 +0530 | [diff] [blame] | 25 | mariadbGalera: |
| 26 | serviceName: mariadb-galera |
| 27 | servicePort: '3306' |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 28 | |
| 29 | ################################################################# |
Krzysztof Opasiak | 5743141 | 2020-03-24 23:18:49 +0100 | [diff] [blame] | 30 | # Secrets metaconfig |
| 31 | ################################################################# |
| 32 | secrets: |
| 33 | - uid: db-user-creds |
| 34 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 35 | externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}' |
Krzysztof Opasiak | 5743141 | 2020-03-24 23:18:49 +0100 | [diff] [blame] | 36 | login: '{{ .Values.db.userName }}' |
| 37 | password: '{{ .Values.db.userPassword }}' |
| 38 | passwordPolicy: required |
| 39 | - uid: db-admin-creds |
| 40 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 41 | externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}' |
Krzysztof Opasiak | 5743141 | 2020-03-24 23:18:49 +0100 | [diff] [blame] | 42 | login: '{{ .Values.db.adminName }}' |
| 43 | password: '{{ .Values.db.adminPassword }}' |
| 44 | passwordPolicy: required |
seshukm | 610d97d | 2021-03-19 02:57:36 +0530 | [diff] [blame] | 45 | - uid: sdnc-adapter-mso-key |
| 46 | name: '{{ include "common.release" . }}-so-sdnc-mso-key' |
| 47 | type: password |
| 48 | externalSecret: '{{ tpl (default "" .Values.mso.msoKeySecret) . }}' |
| 49 | password: '{{ .Values.mso.msoKey }}' |
seshukm | 610d97d | 2021-03-19 02:57:36 +0530 | [diff] [blame] | 50 | - uid: sdnc-adapter-mso-auth |
| 51 | name: '{{ include "common.release" . }}-so-sdnc-mso-auth' |
| 52 | type: password |
| 53 | externalSecret: '{{ tpl (default "" .Values.mso.authSecret) . }}' |
| 54 | password: '{{ .Values.mso.auth }}' |
Sylvain Desbureaux | aadf545 | 2020-03-18 18:13:51 +0100 | [diff] [blame] | 55 | #secretsFilePaths: | |
| 56 | # - 'my file 1' |
| 57 | # - '{{ include "templateThatGeneratesFileName" . }}' |
Krzysztof Opasiak | 5743141 | 2020-03-24 23:18:49 +0100 | [diff] [blame] | 58 | |
| 59 | ################################################################# |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 60 | # Application configuration defaults. |
| 61 | ################################################################# |
Lukasz Rajewski | 743dca9 | 2023-06-12 07:28:58 +0000 | [diff] [blame] | 62 | image: onap/so/sdnc-adapter:1.12.2 |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 63 | pullPolicy: Always |
| 64 | |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 65 | org: |
| 66 | onap: |
| 67 | so: |
| 68 | adapters: |
| 69 | sdnc: |
| 70 | bpelauth: 4C18603C5AE7E3A42A6CED95CDF9C0BA9B2109B3725747662E5D34E5FDF63DA9ADEBB08185098F14699195FDE9475100 |
| 71 | sdncauth: ED07A7EE5F099FA53369C3DF2240AD68A00154676EEDBC6F8C16BAA83B1912941B8941ABD48683D2C1072DA7040659692DE936A59BBF42A038CF71DE67B4A375190071EC76EA657801B033C135 |
| 72 | network: |
| 73 | encryptionKey: 07a7159d3bf51a0e53be7a8f89699be7 |
| 74 | mso: |
seshukm | 610d97d | 2021-03-19 02:57:36 +0530 | [diff] [blame] | 75 | msoKey: 07a7159d3bf51a0e53be7a8f89699be7 |
| 76 | #msoKeySecret: some secret |
| 77 | auth: BEA8637716A7EB617DF472BA6552D22F68C1CB17B0D094D77DDA562F4ADAAC4457CAB848E1A4 |
| 78 | #authSecret: some secret |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 79 | adapters: |
| 80 | requestDb: |
| 81 | auth: Basic YnBlbDpwYXNzd29yZDEk |
| 82 | |
Krzysztof Opasiak | 5743141 | 2020-03-24 23:18:49 +0100 | [diff] [blame] | 83 | db: |
| 84 | userName: so_user |
| 85 | userPassword: so_User123 |
| 86 | # userCredsExternalSecret: some secret |
| 87 | adminName: so_admin |
| 88 | adminPassword: so_Admin123 |
| 89 | # adminCredsExternalSecret: some secret |
| 90 | |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 91 | replicaCount: 1 |
| 92 | minReadySeconds: 10 |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 93 | containerPort: &containerPort 8086 |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 94 | logPath: ./logs/sdnc/ |
| 95 | app: sdnc-adapter |
| 96 | service: |
Andreas Geissler | ad61ccf | 2023-02-23 09:17:36 +0100 | [diff] [blame] | 97 | type: ClusterIP |
| 98 | ports: |
| 99 | - name: http |
| 100 | port: *containerPort |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 101 | updateStrategy: |
Andreas Geissler | ad61ccf | 2023-02-23 09:17:36 +0100 | [diff] [blame] | 102 | type: RollingUpdate |
| 103 | maxUnavailable: 1 |
| 104 | maxSurge: 1 |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 105 | |
| 106 | ################################################################# |
| 107 | # soHelpers part |
| 108 | ################################################################# |
| 109 | soHelpers: |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 110 | containerPort: *containerPort |
| 111 | |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 112 | # Resource Limit flavor -By Default using small |
| 113 | flavor: small |
| 114 | # Segregation for Different environment (Small and Large) |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 115 | resources: |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 116 | small: |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 117 | limits: |
Andreas Geissler | 555db9c | 2023-06-20 11:38:39 +0200 | [diff] [blame^] | 118 | memory: 1.5Gi |
| 119 | cpu: 999 |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 120 | requests: |
Andreas Geissler | 555db9c | 2023-06-20 11:38:39 +0200 | [diff] [blame^] | 121 | memory: 1.5Gi |
| 122 | cpu: 0.5 |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 123 | large: |
| 124 | limits: |
Andreas Geissler | 555db9c | 2023-06-20 11:38:39 +0200 | [diff] [blame^] | 125 | memory: 3Gi |
| 126 | cpu: 999 |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 127 | requests: |
Andreas Geissler | 555db9c | 2023-06-20 11:38:39 +0200 | [diff] [blame^] | 128 | memory: 3Gi |
| 129 | cpu: 1 |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 130 | unlimited: {} |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 131 | livenessProbe: |
Andreas Geissler | ad61ccf | 2023-02-23 09:17:36 +0100 | [diff] [blame] | 132 | path: /manage/health |
| 133 | port: 8086 |
| 134 | scheme: HTTP |
| 135 | initialDelaySeconds: 600 |
| 136 | periodSeconds: 60 |
| 137 | timeoutSeconds: 10 |
| 138 | successThreshold: 1 |
| 139 | failureThreshold: 3 |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 140 | ingress: |
| 141 | enabled: false |
AndrewLamb | ab2704a | 2023-04-05 14:45:11 +0100 | [diff] [blame] | 142 | serviceMesh: |
| 143 | authorizationPolicy: |
| 144 | authorizedPrincipals: |
| 145 | - serviceAccount: robot-read |
| 146 | - serviceAccount: so-bpmn-infra-read |
| 147 | - serviceAccount: so-read |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 148 | nodeSelector: {} |
| 149 | tolerations: [] |
Brian Freeman | 1a66793 | 2018-09-06 14:45:37 -0500 | [diff] [blame] | 150 | affinity: {} |
farida azmy | 87f4622 | 2021-04-06 15:25:15 +0200 | [diff] [blame] | 151 | |
| 152 | #Pods Service Account |
| 153 | serviceAccount: |
| 154 | nameOverride: so-sdnc-adapter |
| 155 | roles: |
| 156 | - read |
Maciej Wereski | df9ba22 | 2021-11-05 14:38:18 +0000 | [diff] [blame] | 157 | |
| 158 | #Logs configuration |
| 159 | log: |
| 160 | path: /var/log/onap |
| 161 | logConfigMapNamePrefix: '{{ include "common.fullname" . }}' |