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