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 |
sanket12345 | 148634b | 2024-02-23 13:26:42 +0100 | [diff] [blame] | 3 | # Copyright © 2024 Deutsche Telekom Intellectual Property. All rights reserved. |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 15 | ################################################################# |
| 16 | # Global configuration defaults. |
| 17 | ################################################################# |
| 18 | global: |
| 19 | nodePortPrefix: 302 |
| 20 | nodePortPrefixExt: 304 |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 21 | persistence: |
| 22 | mountPath: /dockerdata-nfs |
Konrad Bańka | 7bde1d6 | 2020-04-01 16:09:11 +0200 | [diff] [blame] | 23 | #This configuration specifies Service and port for SDNC OAM interface |
| 24 | sdncOamService: sdnc-oam |
| 25 | sdncOamPort: 8282 |
krishnaa96 | 92b606b | 2020-10-30 11:29:21 +0530 | [diff] [blame] | 26 | mariadbGalera: |
Andreas Geissler | 2c1ba29 | 2024-01-10 22:20:05 +0100 | [diff] [blame] | 27 | # flag to enable the DB creation via mariadb-operator |
| 28 | useOperator: true |
Andreas Geissler | 576de2d | 2023-10-24 15:38:01 +0200 | [diff] [blame] | 29 | service: mariadb-galera |
krishnaa96 | 92b606b | 2020-10-30 11:29:21 +0530 | [diff] [blame] | 30 | servicePort: '3306' |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 31 | |
Sylvain Desbureaux | d055a17 | 2020-10-30 14:32:03 +0100 | [diff] [blame] | 32 | readinessCheck: |
| 33 | wait_for: |
Prabhjot Singh Sethi | 46e1756 | 2021-08-20 22:40:23 +0530 | [diff] [blame] | 34 | jobs: |
| 35 | - '{{ include "common.release" . }}-so-mariadb-config-job' |
Sylvain Desbureaux | d055a17 | 2020-10-30 14:32:03 +0100 | [diff] [blame] | 36 | |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 37 | ################################################################# |
Krzysztof Opasiak | 42f027f | 2020-03-02 21:04:12 +0100 | [diff] [blame] | 38 | # Secrets metaconfig |
| 39 | ################################################################# |
| 40 | secrets: |
| 41 | - uid: db-user-creds |
| 42 | name: '{{ include "common.release" . }}-so-bpmn-infra-db-user-creds' |
| 43 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 44 | externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}' |
Krzysztof Opasiak | 42f027f | 2020-03-02 21:04:12 +0100 | [diff] [blame] | 45 | login: '{{ .Values.db.userName }}' |
| 46 | password: '{{ .Values.db.userPassword }}' |
| 47 | passwordPolicy: required |
| 48 | - uid: db-admin-creds |
| 49 | name: '{{ include "common.release" . }}-so-bpmn-infra-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 | 42f027f | 2020-03-02 21:04:12 +0100 | [diff] [blame] | 52 | login: '{{ .Values.db.adminName }}' |
| 53 | password: '{{ .Values.db.adminPassword }}' |
| 54 | passwordPolicy: required |
| 55 | |
Sylvain Desbureaux | aadf545 | 2020-03-18 18:13:51 +0100 | [diff] [blame] | 56 | #secretsFilePaths: | |
| 57 | # - 'my file 1' |
| 58 | # - '{{ include "templateThatGeneratesFileName" . }}' |
Krzysztof Opasiak | 42f027f | 2020-03-02 21:04:12 +0100 | [diff] [blame] | 59 | |
| 60 | ################################################################# |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 61 | # Application configuration defaults. |
| 62 | ################################################################# |
sanket12345 | 148634b | 2024-02-23 13:26:42 +0100 | [diff] [blame] | 63 | image: onap/so/bpmn-infra:1.13.0 |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 64 | pullPolicy: Always |
| 65 | |
sanket12345 | 148634b | 2024-02-23 13:26:42 +0100 | [diff] [blame] | 66 | kafkaUser: |
| 67 | acls: |
| 68 | - name: so-consumer |
| 69 | type: group |
| 70 | patternType: literal |
| 71 | operations: [Read] |
| 72 | - name: unauthenticated.PNF_READY |
| 73 | type: topic |
| 74 | patternType: literal |
| 75 | operations: [Read] |
| 76 | - name: unauthenticated.PNF_UPDATE |
| 77 | type: topic |
| 78 | patternType: literal |
| 79 | operations: [Read] |
| 80 | |
Jozsef Csongvai | 80fdd79 | 2021-09-29 09:58:48 -0400 | [diff] [blame] | 81 | bpmn: |
| 82 | historyTTL: 14 |
| 83 | |
| 84 | camunda: |
| 85 | sundayCleanupWindowStartTime: "04:00" |
| 86 | sundayCleanupWindowEndTime: "10:00" |
| 87 | |
Andreas Geissler | 2c1ba29 | 2024-01-10 22:20:05 +0100 | [diff] [blame] | 88 | # Local mariadb galera instance default name |
| 89 | mariadb-galera: |
| 90 | nameOverride: so-mariadb-galera |
| 91 | service: |
| 92 | internalPort: 3306 |
| 93 | mariadbOperator: |
| 94 | galera: |
| 95 | enabled: false |
| 96 | |
Krzysztof Opasiak | 42f027f | 2020-03-02 21:04:12 +0100 | [diff] [blame] | 97 | db: |
| 98 | userName: so_user |
| 99 | userPassword: so_User123 |
| 100 | # userCredsExternalSecret: some secret |
| 101 | adminName: so_admin |
| 102 | adminPassword: so_Admin123 |
| 103 | # adminCredsExternalSecret: some secret |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 104 | |
| 105 | aai: |
| 106 | auth: 221187EFA3AD4E33600DE0488F287099934CE65C3D0697BCECC00BB58E784E07CD74A24581DC31DBC086FF63DF116378776E9BE3D1325885 |
| 107 | |
| 108 | cds: |
| 109 | auth: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw== |
| 110 | |
| 111 | mso: |
| 112 | key: 07a7159d3bf51a0e53be7a8f89699be7 |
| 113 | adapters: |
| 114 | requestDb: |
| 115 | auth: Basic YnBlbDpwYXNzd29yZDEk |
| 116 | db: |
| 117 | auth: A3745B5DBE165EFCF101D85A6FC81C211AB8BF604F8861B6C413D5DC90F8F30E0139DE44B8A342F4EF70AF |
| 118 | password: wLg4sjrAFUS8rfVfdvTXeQ== |
| 119 | po: |
| 120 | auth: A3745B5DBE165EFCF101D85A6FC81C211AB8BF604F8861B6C413D5DC90F8F30E0139DE44B8A342F4EF70AF |
| 121 | sdnc: |
| 122 | password: 1D78CFC35382B6938A989066A7A7EAEF4FE933D2919BABA99EB4763737F39876C333EE5F |
| 123 | sniro: |
| 124 | auth: test:testpwd |
| 125 | oof: |
| 126 | auth: test:testpwd |
| 127 | so: |
Sylvain Desbureaux | 1eff56b | 2021-02-25 14:13:01 +0100 | [diff] [blame] | 128 | sol003: |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 129 | adapter: |
| 130 | auth: Basic dm5mbTpwYXNzd29yZDEk |
| 131 | sniro: |
| 132 | endpoint: http://replaceme:28090/optimizationInstance/V1/create |
| 133 | |
Sylvain Desbureaux | 7c3180e | 2020-10-26 15:33:45 +0100 | [diff] [blame] | 134 | vnf: |
| 135 | api: |
| 136 | version: v2 |
| 137 | |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 138 | replicaCount: 1 |
| 139 | minReadySeconds: 10 |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 140 | containerPort: &containerPort 8081 |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 141 | logPath: ./logs/bpmn/ |
| 142 | app: so-bpmn-infra |
| 143 | service: |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 144 | type: ClusterIP |
Andreas Geissler | ad61ccf | 2023-02-23 09:17:36 +0100 | [diff] [blame] | 145 | ports: |
| 146 | - port: *containerPort |
| 147 | name: http |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 148 | updateStrategy: |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 149 | type: RollingUpdate |
| 150 | maxUnavailable: 1 |
| 151 | maxSurge: 1 |
| 152 | |
| 153 | ################################################################# |
Andreas Geissler | ad61ccf | 2023-02-23 09:17:36 +0100 | [diff] [blame] | 154 | # soHelpers part |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 155 | ################################################################# |
| 156 | soHelpers: |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 157 | containerPort: *containerPort |
| 158 | |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 159 | # Resource Limit flavor -By Default using small |
Ramesh Parthasarathy | 1ceefda | 2018-09-14 21:22:43 +0000 | [diff] [blame] | 160 | flavor: large |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 161 | # Segregation for Different environment (Small and Large) |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 162 | resources: |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 163 | small: |
| 164 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 165 | cpu: "1" |
| 166 | memory: "3Gi" |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 167 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 168 | cpu: "0.5" |
| 169 | memory: "3Gi" |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 170 | large: |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 171 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 172 | cpu: "2" |
| 173 | memory: "6Gi" |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 174 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 175 | cpu: "1" |
| 176 | memory: "6Gi" |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 177 | unlimited: {} |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 178 | livenessProbe: |
Sylvain Desbureaux | 7c3180e | 2020-10-26 15:33:45 +0100 | [diff] [blame] | 179 | path: /manage/health |
| 180 | scheme: HTTP |
| 181 | initialDelaySeconds: 600 |
| 182 | periodSeconds: 60 |
| 183 | timeoutSeconds: 10 |
| 184 | successThreshold: 1 |
| 185 | failureThreshold: 3 |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 186 | ingress: |
| 187 | enabled: false |
AndrewLamb | ab2704a | 2023-04-05 14:45:11 +0100 | [diff] [blame] | 188 | serviceMesh: |
| 189 | authorizationPolicy: |
| 190 | authorizedPrincipals: |
| 191 | - serviceAccount: robot-read |
| 192 | - serviceAccount: so-admin-cockpit-read |
| 193 | - serviceAccount: so-oof-adapter-read |
| 194 | - serviceAccount: so-openstack-adapter-read |
| 195 | - serviceAccount: so-read |
| 196 | - serviceAccount: so-sdc-controller-read |
| 197 | - serviceAccount: so-sdnc-adapter-read |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 198 | nodeSelector: {} |
| 199 | tolerations: [] |
Brian Freeman | 1a66793 | 2018-09-06 14:45:37 -0500 | [diff] [blame] | 200 | affinity: {} |
farida azmy | 87f4622 | 2021-04-06 15:25:15 +0200 | [diff] [blame] | 201 | |
| 202 | #Pods Service Account |
| 203 | serviceAccount: |
| 204 | nameOverride: so-bpmn-infra |
| 205 | roles: |
| 206 | - read |
Maciej Wereski | df9ba22 | 2021-11-05 14:38:18 +0000 | [diff] [blame] | 207 | |
| 208 | #Log configuration |
| 209 | log: |
| 210 | path: /var/log/onap |
| 211 | logConfigMapNamePrefix: '{{ include "common.fullname" . }}' |