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