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