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