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 | |
Sylvain Desbureaux | d055a17 | 2020-10-30 14:32:03 +0100 | [diff] [blame] | 31 | readinessCheck: |
| 32 | wait_for: |
Prabhjot Singh Sethi | 46e1756 | 2021-08-20 22:40:23 +0530 | [diff] [blame] | 33 | jobs: |
| 34 | - '{{ include "common.release" . }}-so-mariadb-config-job' |
Sylvain Desbureaux | d055a17 | 2020-10-30 14:32:03 +0100 | [diff] [blame] | 35 | |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 36 | ################################################################# |
Krzysztof Opasiak | 42f027f | 2020-03-02 21:04:12 +0100 | [diff] [blame] | 37 | # Secrets metaconfig |
| 38 | ################################################################# |
| 39 | secrets: |
| 40 | - uid: db-user-creds |
| 41 | name: '{{ include "common.release" . }}-so-bpmn-infra-db-user-creds' |
| 42 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 43 | externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}' |
Krzysztof Opasiak | 42f027f | 2020-03-02 21:04:12 +0100 | [diff] [blame] | 44 | login: '{{ .Values.db.userName }}' |
| 45 | password: '{{ .Values.db.userPassword }}' |
| 46 | passwordPolicy: required |
| 47 | - uid: db-admin-creds |
| 48 | name: '{{ include "common.release" . }}-so-bpmn-infra-db-admin-creds' |
| 49 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 50 | externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}' |
Krzysztof Opasiak | 42f027f | 2020-03-02 21:04:12 +0100 | [diff] [blame] | 51 | login: '{{ .Values.db.adminName }}' |
| 52 | password: '{{ .Values.db.adminPassword }}' |
| 53 | passwordPolicy: required |
| 54 | |
Sylvain Desbureaux | aadf545 | 2020-03-18 18:13:51 +0100 | [diff] [blame] | 55 | #secretsFilePaths: | |
| 56 | # - 'my file 1' |
| 57 | # - '{{ include "templateThatGeneratesFileName" . }}' |
Krzysztof Opasiak | 42f027f | 2020-03-02 21:04:12 +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/bpmn-infra:1.12.2 |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 63 | pullPolicy: Always |
| 64 | |
Jozsef Csongvai | 80fdd79 | 2021-09-29 09:58:48 -0400 | [diff] [blame] | 65 | bpmn: |
| 66 | historyTTL: 14 |
| 67 | |
| 68 | camunda: |
| 69 | sundayCleanupWindowStartTime: "04:00" |
| 70 | sundayCleanupWindowEndTime: "10:00" |
| 71 | |
Andreas Geissler | 2c1ba29 | 2024-01-10 22:20:05 +0100 | [diff] [blame] | 72 | # Local mariadb galera instance default name |
| 73 | mariadb-galera: |
| 74 | nameOverride: so-mariadb-galera |
| 75 | service: |
| 76 | internalPort: 3306 |
| 77 | mariadbOperator: |
| 78 | galera: |
| 79 | enabled: false |
| 80 | |
Krzysztof Opasiak | 42f027f | 2020-03-02 21:04:12 +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 |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 88 | |
| 89 | aai: |
| 90 | auth: 221187EFA3AD4E33600DE0488F287099934CE65C3D0697BCECC00BB58E784E07CD74A24581DC31DBC086FF63DF116378776E9BE3D1325885 |
| 91 | |
| 92 | cds: |
| 93 | auth: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw== |
| 94 | |
| 95 | mso: |
| 96 | key: 07a7159d3bf51a0e53be7a8f89699be7 |
| 97 | adapters: |
| 98 | requestDb: |
| 99 | auth: Basic YnBlbDpwYXNzd29yZDEk |
| 100 | db: |
| 101 | auth: A3745B5DBE165EFCF101D85A6FC81C211AB8BF604F8861B6C413D5DC90F8F30E0139DE44B8A342F4EF70AF |
| 102 | password: wLg4sjrAFUS8rfVfdvTXeQ== |
| 103 | po: |
| 104 | auth: A3745B5DBE165EFCF101D85A6FC81C211AB8BF604F8861B6C413D5DC90F8F30E0139DE44B8A342F4EF70AF |
| 105 | sdnc: |
| 106 | password: 1D78CFC35382B6938A989066A7A7EAEF4FE933D2919BABA99EB4763737F39876C333EE5F |
| 107 | sniro: |
| 108 | auth: test:testpwd |
| 109 | oof: |
| 110 | auth: test:testpwd |
| 111 | so: |
Sylvain Desbureaux | 1eff56b | 2021-02-25 14:13:01 +0100 | [diff] [blame] | 112 | sol003: |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 113 | adapter: |
| 114 | auth: Basic dm5mbTpwYXNzd29yZDEk |
| 115 | sniro: |
| 116 | endpoint: http://replaceme:28090/optimizationInstance/V1/create |
| 117 | |
Sylvain Desbureaux | 7c3180e | 2020-10-26 15:33:45 +0100 | [diff] [blame] | 118 | vnf: |
| 119 | api: |
| 120 | version: v2 |
| 121 | |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 122 | replicaCount: 1 |
| 123 | minReadySeconds: 10 |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 124 | containerPort: &containerPort 8081 |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 125 | logPath: ./logs/bpmn/ |
| 126 | app: so-bpmn-infra |
| 127 | service: |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 128 | type: ClusterIP |
Andreas Geissler | ad61ccf | 2023-02-23 09:17:36 +0100 | [diff] [blame] | 129 | ports: |
| 130 | - port: *containerPort |
| 131 | name: http |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 132 | updateStrategy: |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 133 | type: RollingUpdate |
| 134 | maxUnavailable: 1 |
| 135 | maxSurge: 1 |
| 136 | |
| 137 | ################################################################# |
Andreas Geissler | ad61ccf | 2023-02-23 09:17:36 +0100 | [diff] [blame] | 138 | # soHelpers part |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 139 | ################################################################# |
| 140 | soHelpers: |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 141 | containerPort: *containerPort |
| 142 | |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 143 | # Resource Limit flavor -By Default using small |
Ramesh Parthasarathy | 1ceefda | 2018-09-14 21:22:43 +0000 | [diff] [blame] | 144 | flavor: large |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 145 | # Segregation for Different environment (Small and Large) |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 146 | resources: |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 147 | small: |
| 148 | limits: |
Andreas Geissler | 555db9c | 2023-06-20 11:38:39 +0200 | [diff] [blame] | 149 | memory: 3Gi |
vladimir turok | db8167b | 2023-09-20 11:09:21 +0200 | [diff] [blame] | 150 | cpu: 1 |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 151 | requests: |
Andreas Geissler | 555db9c | 2023-06-20 11:38:39 +0200 | [diff] [blame] | 152 | memory: 3Gi |
| 153 | cpu: 0.5 |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 154 | large: |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 155 | limits: |
Andreas Geissler | 555db9c | 2023-06-20 11:38:39 +0200 | [diff] [blame] | 156 | memory: 6Gi |
vladimir turok | db8167b | 2023-09-20 11:09:21 +0200 | [diff] [blame] | 157 | cpu: 2 |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 158 | requests: |
Andreas Geissler | 555db9c | 2023-06-20 11:38:39 +0200 | [diff] [blame] | 159 | memory: 6Gi |
| 160 | cpu: 1 |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 161 | unlimited: {} |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 162 | livenessProbe: |
Sylvain Desbureaux | 7c3180e | 2020-10-26 15:33:45 +0100 | [diff] [blame] | 163 | path: /manage/health |
| 164 | scheme: HTTP |
| 165 | initialDelaySeconds: 600 |
| 166 | periodSeconds: 60 |
| 167 | timeoutSeconds: 10 |
| 168 | successThreshold: 1 |
| 169 | failureThreshold: 3 |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 170 | ingress: |
| 171 | enabled: false |
AndrewLamb | ab2704a | 2023-04-05 14:45:11 +0100 | [diff] [blame] | 172 | serviceMesh: |
| 173 | authorizationPolicy: |
| 174 | authorizedPrincipals: |
| 175 | - serviceAccount: robot-read |
| 176 | - serviceAccount: so-admin-cockpit-read |
| 177 | - serviceAccount: so-oof-adapter-read |
| 178 | - serviceAccount: so-openstack-adapter-read |
| 179 | - serviceAccount: so-read |
| 180 | - serviceAccount: so-sdc-controller-read |
| 181 | - serviceAccount: so-sdnc-adapter-read |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 182 | nodeSelector: {} |
| 183 | tolerations: [] |
Brian Freeman | 1a66793 | 2018-09-06 14:45:37 -0500 | [diff] [blame] | 184 | affinity: {} |
farida azmy | 87f4622 | 2021-04-06 15:25:15 +0200 | [diff] [blame] | 185 | |
| 186 | #Pods Service Account |
| 187 | serviceAccount: |
| 188 | nameOverride: so-bpmn-infra |
| 189 | roles: |
| 190 | - read |
Maciej Wereski | df9ba22 | 2021-11-05 14:38:18 +0000 | [diff] [blame] | 191 | |
| 192 | #Log configuration |
| 193 | log: |
| 194 | path: /var/log/onap |
| 195 | logConfigMapNamePrefix: '{{ include "common.fullname" . }}' |