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