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