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