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