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