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' |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 27 | |
Sylvain Desbureaux | d055a17 | 2020-10-30 14:32:03 +0100 | [diff] [blame] | 28 | readinessCheck: |
| 29 | wait_for: |
Prabhjot Singh Sethi | 46e1756 | 2021-08-20 22:40:23 +0530 | [diff] [blame] | 30 | jobs: |
| 31 | - '{{ include "common.release" . }}-so-mariadb-config-job' |
Sylvain Desbureaux | d055a17 | 2020-10-30 14:32:03 +0100 | [diff] [blame] | 32 | |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 33 | ################################################################# |
Krzysztof Opasiak | 2cf3550 | 2020-03-24 23:01:38 +0100 | [diff] [blame] | 34 | # Secrets metaconfig |
| 35 | ################################################################# |
| 36 | secrets: |
| 37 | - uid: db-user-creds |
| 38 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 39 | externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}' |
Krzysztof Opasiak | 2cf3550 | 2020-03-24 23:01:38 +0100 | [diff] [blame] | 40 | login: '{{ .Values.db.userName }}' |
| 41 | password: '{{ .Values.db.userPassword }}' |
| 42 | passwordPolicy: required |
| 43 | - uid: db-admin-creds |
| 44 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 45 | externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}' |
Krzysztof Opasiak | 2cf3550 | 2020-03-24 23:01:38 +0100 | [diff] [blame] | 46 | login: '{{ .Values.db.adminName }}' |
| 47 | password: '{{ .Values.db.adminPassword }}' |
| 48 | passwordPolicy: required |
Sylvain Desbureaux | aadf545 | 2020-03-18 18:13:51 +0100 | [diff] [blame] | 49 | |
| 50 | #secretsFilePaths: | |
| 51 | # - 'my file 1' |
| 52 | # - '{{ include "templateThatGeneratesFileName" . }}' |
Krzysztof Opasiak | 2cf3550 | 2020-03-24 23:01:38 +0100 | [diff] [blame] | 53 | |
| 54 | ################################################################# |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 55 | # Application configuration defaults. |
| 56 | ################################################################# |
Lukasz Rajewski | 743dca9 | 2023-06-12 07:28:58 +0000 | [diff] [blame] | 57 | image: onap/so/openstack-adapter:1.12.2 |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 58 | pullPolicy: Always |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 59 | |
Andreas Geissler | 2c1ba29 | 2024-01-10 22:20:05 +0100 | [diff] [blame] | 60 | # Local mariadb galera instance default name |
| 61 | mariadb-galera: |
| 62 | nameOverride: so-mariadb-galera |
| 63 | service: |
| 64 | internalPort: 3306 |
| 65 | mariadbOperator: |
| 66 | galera: |
| 67 | enabled: false |
| 68 | |
Krzysztof Opasiak | 2cf3550 | 2020-03-24 23:01:38 +0100 | [diff] [blame] | 69 | db: |
| 70 | userName: so_user |
| 71 | userPassword: so_User123 |
| 72 | # userCredsExternalSecret: some secret |
| 73 | adminName: so_admin |
| 74 | adminPassword: so_Admin123 |
| 75 | # adminCredsExternalSecret: some secret |
| 76 | |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 77 | aai: |
| 78 | auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586 |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 79 | org: |
| 80 | onap: |
| 81 | so: |
| 82 | adapters: |
| 83 | bpelauth: D1A67FA93B6A6419132D0F83CC771AF774FD3C60853C50C22C8C6FC5088CC79E9E81EDE9EA39F22B2F66A0068E |
| 84 | mso: |
| 85 | msoKey: 07a7159d3bf51a0e53be7a8f89699be7 |
| 86 | basicUser: poBpmn |
| 87 | auth: BEA8637716A7EB617DF472BA6552D22F68C1CB17B0D094D77DDA562F4ADAAC4457CAB848E1A4 |
| 88 | db: |
| 89 | auth: Basic YnBlbDpwYXNzd29yZDEk |
| 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 8087 |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 94 | logPath: ./logs/openstack/ |
| 95 | app: openstack-adapter |
| 96 | service: |
Andreas Geissler | ad61ccf | 2023-02-23 09:17:36 +0100 | [diff] [blame] | 97 | type: ClusterIP |
| 98 | ports: |
| 99 | - name: http |
| 100 | port: *containerPort |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 101 | updateStrategy: |
Andreas Geissler | ad61ccf | 2023-02-23 09:17:36 +0100 | [diff] [blame] | 102 | type: RollingUpdate |
| 103 | maxUnavailable: 1 |
| 104 | maxSurge: 1 |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 105 | |
| 106 | ################################################################# |
Andreas Geissler | ad61ccf | 2023-02-23 09:17:36 +0100 | [diff] [blame] | 107 | # soHelpers part |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 108 | ################################################################# |
| 109 | soHelpers: |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 110 | containerPort: *containerPort |
| 111 | |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 112 | # Resource Limit flavor -By Default using small |
| 113 | flavor: small |
| 114 | # Segregation for Different environment (Small and Large) |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 115 | resources: |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 116 | small: |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 117 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 118 | cpu: "1" |
| 119 | memory: "1.5Gi" |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 120 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 121 | cpu: "0.5" |
| 122 | memory: "1.5Gi" |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 123 | large: |
| 124 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 125 | cpu: "2" |
| 126 | memory: "3Gi" |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 127 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 128 | cpu: "1" |
| 129 | memory: "3Gi" |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 130 | unlimited: {} |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 131 | livenessProbe: |
Andreas Geissler | ad61ccf | 2023-02-23 09:17:36 +0100 | [diff] [blame] | 132 | path: /manage/health |
| 133 | port: 8087 |
| 134 | scheme: HTTP |
| 135 | initialDelaySeconds: 600 |
| 136 | periodSeconds: 60 |
| 137 | timeoutSeconds: 10 |
| 138 | successThreshold: 1 |
| 139 | failureThreshold: 3 |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 140 | ingress: |
| 141 | enabled: false |
AndrewLamb | ab2704a | 2023-04-05 14:45:11 +0100 | [diff] [blame] | 142 | serviceMesh: |
| 143 | authorizationPolicy: |
| 144 | authorizedPrincipals: |
| 145 | - serviceAccount: robot-read |
| 146 | - serviceAccount: so-bpmn-infra-read |
| 147 | - serviceAccount: so-read |
Ramesh Parthasarathy | c98749e | 2018-10-11 21:06:37 +0000 | [diff] [blame] | 148 | config: |
| 149 | openStackUserName: "vnf_user" |
| 150 | openStackRegion: "RegionOne" |
| 151 | openStackKeyStoneUrl: "http://1.2.3.4:5000/v2.0" |
| 152 | openStackServiceTenantName: "service" |
| 153 | openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e" |
| 154 | openStackTenantId: "d570c718cbc545029f40e50b75eb13df" |
Marcin Wilk | ad9b376 | 2021-10-13 18:20:43 +0200 | [diff] [blame] | 155 | # "KEYSTONE" for keystone v2, "KEYSTONE_V3" for keystone v3 |
| 156 | openStackKeystoneVersion: "KEYSTONE" |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 157 | nodeSelector: {} |
| 158 | tolerations: [] |
| 159 | affinity: {} |
farida azmy | 87f4622 | 2021-04-06 15:25:15 +0200 | [diff] [blame] | 160 | |
| 161 | #Pods Service Account |
| 162 | serviceAccount: |
| 163 | nameOverride: so-openstack-adapter |
| 164 | roles: |
| 165 | - read |
Maciej Wereski | df9ba22 | 2021-11-05 14:38:18 +0000 | [diff] [blame] | 166 | |
| 167 | #Logs configuration |
| 168 | log: |
| 169 | path: /var/log/onap |
| 170 | logConfigMapNamePrefix: '{{ include "common.fullname" . }}' |