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