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 |
efiacor | 8d3ff80 | 2022-11-23 12:13:26 +0000 | [diff] [blame] | 48 | - uid: so-sdc-kafka-secret |
| 49 | externalSecret: '{{ tpl (default "" .Values.config.jaasConfExternalSecret) . }}' |
| 50 | type: genericKV |
| 51 | envs: |
| 52 | - name: sasl.jaas.config |
| 53 | value: '{{ .Values.config.someConfig }}' |
| 54 | policy: generate |
Sylvain Desbureaux | aadf545 | 2020-03-18 18:13:51 +0100 | [diff] [blame] | 55 | |
| 56 | #secretsFilePaths: | |
| 57 | # - 'my file 1' |
| 58 | # - '{{ include "templateThatGeneratesFileName" . }}' |
Krzysztof Opasiak | c34ed60 | 2020-03-24 23:10:53 +0100 | [diff] [blame] | 59 | |
| 60 | ################################################################# |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 61 | # Application configuration defaults. |
| 62 | ################################################################# |
efiacor | 8d3ff80 | 2022-11-23 12:13:26 +0000 | [diff] [blame] | 63 | image: onap/so/sdc-controller:1.12.0 |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 64 | pullPolicy: Always |
| 65 | |
Krzysztof Opasiak | c34ed60 | 2020-03-24 23:10:53 +0100 | [diff] [blame] | 66 | db: |
| 67 | userName: so_user |
| 68 | userPassword: so_User123 |
| 69 | # userCredsExternalSecret: some secret |
| 70 | adminName: so_admin |
| 71 | adminPassword: so_Admin123 |
| 72 | # adminCredsExternalSecret: some secret |
| 73 | |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 74 | aai: |
| 75 | auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586 |
| 76 | mso: |
| 77 | msoKey: 07a7159d3bf51a0e53be7a8f89699be7 |
| 78 | requestDb: |
| 79 | auth: Basic YnBlbDpwYXNzd29yZDEk |
| 80 | asdc: |
| 81 | config: |
| 82 | key: 566B754875657232314F5548556D3665 |
| 83 | asdc-connections: |
| 84 | asdc-controller1: |
| 85 | password: 76966BDD3C7414A03F7037264FF2E6C8EEC6C28F2B67F2840A1ED857C0260FEE731D73F47F828E5527125D29FD25D3E0DE39EE44C058906BF1657DE77BF897EECA93BDC07FA64F |
efiacor | 8d3ff80 | 2022-11-23 12:13:26 +0000 | [diff] [blame] | 86 | config: |
| 87 | someConfig: blah |
| 88 | kafka: |
| 89 | securityProtocol: SASL_PLAINTEXT |
| 90 | saslMechanism: SCRAM-SHA-512 |
| 91 | authType: simple |
| 92 | sdcTopic: |
| 93 | pattern: SDC-DIST |
| 94 | consumerGroup: so |
| 95 | clientId: SO-sdc-controller |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 96 | |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 97 | replicaCount: 1 |
| 98 | minReadySeconds: 10 |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 99 | containerPort: &containerPort 8085 |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 100 | logPath: ./logs/sdc/ |
| 101 | app: sdc-controller |
| 102 | service: |
Andreas Geissler | ad61ccf | 2023-02-23 09:17:36 +0100 | [diff] [blame] | 103 | type: ClusterIP |
| 104 | ports: |
| 105 | - name: http |
| 106 | port: *containerPort |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 107 | updateStrategy: |
Andreas Geissler | ad61ccf | 2023-02-23 09:17:36 +0100 | [diff] [blame] | 108 | type: RollingUpdate |
| 109 | maxUnavailable: 1 |
| 110 | maxSurge: 1 |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 111 | |
| 112 | ################################################################# |
| 113 | # soHelpers part |
| 114 | ################################################################# |
| 115 | soHelpers: |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 116 | containerPort: *containerPort |
| 117 | |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 118 | # Resource Limit flavor -By Default using small |
| 119 | flavor: small |
| 120 | # Segregation for Different environment (Small and Large) |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 121 | resources: |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 122 | small: |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 123 | limits: |
| 124 | memory: 4Gi |
| 125 | cpu: 2000m |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 126 | requests: |
| 127 | memory: 1Gi |
| 128 | cpu: 500m |
| 129 | large: |
| 130 | limits: |
| 131 | memory: 8Gi |
| 132 | cpu: 4000m |
| 133 | requests: |
| 134 | memory: 2Gi |
| 135 | cpu: 1000m |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 136 | unlimited: {} |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 137 | livenessProbe: |
Andreas Geissler | ad61ccf | 2023-02-23 09:17:36 +0100 | [diff] [blame] | 138 | path: /manage/health |
| 139 | port: 8085 |
| 140 | scheme: HTTP |
| 141 | initialDelaySeconds: 600 |
| 142 | periodSeconds: 60 |
| 143 | timeoutSeconds: 10 |
| 144 | successThreshold: 1 |
| 145 | failureThreshold: 3 |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 146 | ingress: |
| 147 | enabled: false |
| 148 | nodeSelector: {} |
| 149 | tolerations: [] |
Brian Freeman | 1a66793 | 2018-09-06 14:45:37 -0500 | [diff] [blame] | 150 | affinity: {} |
farida azmy | 87f4622 | 2021-04-06 15:25:15 +0200 | [diff] [blame] | 151 | |
| 152 | #Pods Service Account |
| 153 | serviceAccount: |
| 154 | nameOverride: so-sdc-controller |
| 155 | roles: |
| 156 | - read |
Maciej Wereski | df9ba22 | 2021-11-05 14:38:18 +0000 | [diff] [blame] | 157 | |
| 158 | #Logs configuration |
| 159 | log: |
| 160 | path: /var/log/onap |
| 161 | logConfigMapNamePrefix: '{{ include "common.fullname" . }}' |