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